Class GuildStickerUpdateDescriptionEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.sticker.GenericGuildStickerEvent
net.dv8tion.jda.api.events.sticker.update.GenericGuildStickerUpdateEvent<String>
net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateDescriptionEvent
- All Implemented Interfaces:
GenericEvent,UpdateEvent<GuildSticker,String>
Indicates that the description of a
GuildSticker changed.
Can be used to retrieve the old description
Requirements
This event requires the STICKER CacheFlag to be enabled, which requires
the GUILD_EXPRESSIONS intent.
createLight(String) disables that CacheFlag by default!
Identifier: description
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGuildStickerUpdateDescriptionEvent(JDA api, long responseNumber, Guild guild, GuildSticker sticker, String oldValue) -
Method Summary
Modifier and TypeMethodDescriptionThe new valueThe old valueMethods inherited from class net.dv8tion.jda.api.events.sticker.update.GenericGuildStickerUpdateEvent
getEntity, getPropertyIdentifierMethods inherited from class net.dv8tion.jda.api.events.sticker.GenericGuildStickerEvent
getGuild, getStickerMethods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getRawData, getResponseNumberMethods inherited from interface net.dv8tion.jda.api.events.UpdateEvent
getEntityType
-
Field Details
-
IDENTIFIER
- See Also:
-
-
Constructor Details
-
GuildStickerUpdateDescriptionEvent
-
-
Method Details
-
getOldValue
Description copied from interface:UpdateEventThe old value- Specified by:
getOldValuein interfaceUpdateEvent<GuildSticker,String> - Overrides:
getOldValuein classGenericGuildStickerUpdateEvent<String>- Returns:
- The old value
-
getNewValue
Description copied from interface:UpdateEventThe new value- Specified by:
getNewValuein interfaceUpdateEvent<GuildSticker,String> - Overrides:
getNewValuein classGenericGuildStickerUpdateEvent<String>- Returns:
- The new value
-