Interface MessageEditEvent

    • Method Detail

      • getOldMessage

        java.util.Optional<Message> getOldMessage()
        Gets the old message with its old content. It will only be present if the message was in the cache before this event.
        Returns:
        The old message.
      • isActualEdit

        boolean isActualEdit()
        Whether this event represents a real change of the contents of this message.
        Returns:
        true if the original author updated the contents of this message; false otherwise