Class GenericEmoteEvent

java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.emote.GenericEmoteEvent
All Implemented Interfaces:
GenericEvent
Direct Known Subclasses:
EmoteAddedEvent, EmoteRemovedEvent, GenericEmoteUpdateEvent

public abstract class GenericEmoteEvent extends Event
Indicates that an Emote was created/removed/updated.

Requirements

These events require the EMOTE CacheFlag to be enabled, which requires the GUILD_EMOJIS intent.
createLight(String) disables that CacheFlag by default!

  • Constructor Details

  • Method Details

    • getGuild

      @Nonnull public Guild getGuild()
      The Guild where the emote came from
      Returns:
      The origin Guild
    • getEmote

      @Nonnull public Emote getEmote()
      The responsible Emote for this event
      Returns:
      The emote
    • isManaged

      public boolean isManaged()
      Whether this emote is managed by an integration
      Returns:
      True, if this emote is managed by an integration