Package net.dv8tion.jda.api.events.emote
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 anEmotewas created/removed/updated.Requirements
These events require the
EMOTECacheFlag to be enabled, which requires theGUILD_EMOJISintent.createLight(String)disables that CacheFlag by default!
-
-
Constructor Summary
Constructors Constructor Description GenericEmoteEvent(JDA api, long responseNumber, Emote emote)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmotegetEmote()The responsibleEmotefor this eventGuildgetGuild()TheGuildwhere the emote came frombooleanisManaged()Whether this emote is managed by an integration-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-