Class GuildStickerUpdateTagsEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.sticker.GenericGuildStickerEvent
net.dv8tion.jda.api.events.sticker.update.GenericGuildStickerUpdateEvent<Set<String>>
net.dv8tion.jda.api.events.sticker.update.GuildStickerUpdateTagsEvent
- All Implemented Interfaces:
GenericEvent
,UpdateEvent<GuildSticker,
Set<String>>
Indicates that the tags of a
GuildSticker
changed.
Can be used to retrieve the old tags
Requirements
This event requires the STICKER
CacheFlag to be enabled, which requires
the GUILD_EMOJIS_AND_STICKERS
intent.
createLight(String)
disables that CacheFlag by default!
Identifier: tags
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGuildStickerUpdateTagsEvent
(JDA api, long responseNumber, Guild guild, GuildSticker sticker, Set<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
-
GuildStickerUpdateTagsEvent
-
-
Method Details
-
getOldValue
Description copied from interface:UpdateEvent
The old value- Specified by:
getOldValue
in interfaceUpdateEvent<GuildSticker,
Set<String>> - Overrides:
getOldValue
in classGenericGuildStickerUpdateEvent<Set<String>>
- Returns:
- The old value
-
getNewValue
Description copied from interface:UpdateEvent
The new value- Specified by:
getNewValue
in interfaceUpdateEvent<GuildSticker,
Set<String>> - Overrides:
getNewValue
in classGenericGuildStickerUpdateEvent<Set<String>>
- Returns:
- The new value
-