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 anEmote
was created/removed/updated.Requirements
These events require the
EMOTE
CacheFlag to be enabled, which requires theGUILD_EMOJIS
intent.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 Emote
getEmote()
The responsibleEmote
for this eventGuild
getGuild()
TheGuild
where the emote came fromboolean
isManaged()
Whether this emote is managed by an integration-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-