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
-
Constructor Summary
ConstructorDescriptionGuildStickerUpdateDescriptionEvent
(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, 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
-
GuildStickerUpdateDescriptionEvent
-
-
Method Details
-
getOldValue
Description copied from interface:UpdateEvent
The old value- Specified by:
getOldValue
in interfaceUpdateEvent<GuildSticker,
String> - Overrides:
getOldValue
in classGenericGuildStickerUpdateEvent<String>
- Returns:
- The old value
-
getNewValue
Description copied from interface:UpdateEvent
The new value- Specified by:
getNewValue
in interfaceUpdateEvent<GuildSticker,
String> - Overrides:
getNewValue
in classGenericGuildStickerUpdateEvent<String>
- Returns:
- The new value
-