Class GuildStickerUpdateAvailableEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.sticker.GenericGuildStickerEvent
net.dv8tion.jda.api.events.sticker.update.GenericGuildStickerUpdateEvent<Boolean>
net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateAvailableEvent
- All Implemented Interfaces:
GenericEvent
,UpdateEvent<GuildSticker,
Boolean>
Indicates that the availability of a
GuildSticker
changed.
Requirements
This event requires the STICKER
CacheFlag to be enabled, which requires
the GUILD_EXPRESSIONS
intent.
createLight(String)
disables that CacheFlag by default!
Identifier: available
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGuildStickerUpdateAvailableEvent
(JDA api, long responseNumber, Guild guild, GuildSticker sticker, boolean oldValue) -
Method Summary
Modifier and TypeMethodDescriptionThe new valueThe old valueMethods inherited from class net.dv8tion.jda.api.events.sticker.update.GenericGuildStickerUpdateEvent
getEntity, getPropertyIdentifier
Methods inherited from class net.dv8tion.jda.api.events.sticker.GenericGuildStickerEvent
getGuild, getSticker
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getRawData, getResponseNumber
Methods inherited from interface net.dv8tion.jda.api.events.UpdateEvent
getEntityType
-
Field Details
-
IDENTIFIER
- See Also:
-
-
Constructor Details
-
GuildStickerUpdateAvailableEvent
-
-
Method Details
-
getOldValue
Description copied from interface:UpdateEvent
The old value- Specified by:
getOldValue
in interfaceUpdateEvent<GuildSticker,
Boolean> - Overrides:
getOldValue
in classGenericGuildStickerUpdateEvent<Boolean>
- Returns:
- The old value
-
getNewValue
Description copied from interface:UpdateEvent
The new value- Specified by:
getNewValue
in interfaceUpdateEvent<GuildSticker,
Boolean> - Overrides:
getNewValue
in classGenericGuildStickerUpdateEvent<Boolean>
- Returns:
- The new value
-