Interface MessageEditEvent

    • Method Detail

      • getNewContent

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

        Optional<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

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

        Optional<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.