Class EmoteUpdateNameEvent

  • All Implemented Interfaces:
    UpdateEvent<Emote,​java.lang.String>

    public class EmoteUpdateNameEvent
    extends GenericEmoteUpdateEvent<java.lang.String>
    Indicates that the name of an Emote changed.

    Can be used to retrieve the old name

    Identifier: name

    • Constructor Detail

      • EmoteUpdateNameEvent

        public EmoteUpdateNameEvent​(JDA api,
                                    long responseNumber,
                                    Emote emote,
                                    java.lang.String oldName)
    • Method Detail

      • getOldName

        public java.lang.String getOldName()
        The old name
        Returns:
        The old name
      • getNewName

        public java.lang.String getNewName()
        The new name
        Returns:
        The new name