Interface MessageEditEvent

    • Method Detail

      • getNewContent

        java.lang.String getNewContent()
        Gets the new content of the message.
        Returns:
        The new content of the message.
      • getOldContent

        java.util.Optional<java.lang.String> getOldContent()
        Gets the old content of the message. It will only be present, if the message is in the cache.
        Returns:
        The old content of the message.
      • getNewEmbeds

        java.util.List<Embed> getNewEmbeds()
        Gets the new embeds of the message.
        Returns:
        The new embeds of the message.
      • getOldEmbeds

        java.util.Optional<java.util.List<Embed>> getOldEmbeds()
        Gets the old embeds of the message. It will only be present, if the message is in the cache.
        Returns:
        The old embeds of the message.