Interface StickerChangeDescriptionEvent
-
- All Superinterfaces:
Event,ServerEvent,StickerEvent
public interface StickerChangeDescriptionEvent extends StickerEvent
A sticker change description event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.String>getNewDescription()Gets the new description of the sticker.java.util.Optional<java.lang.String>getOldDescription()Gets the old description of the sticker.-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
Methods inherited from interface org.javacord.api.event.server.sticker.StickerEvent
getSticker
-
-
-
-
Method Detail
-
getOldDescription
java.util.Optional<java.lang.String> getOldDescription()
Gets the old description of the sticker.- Returns:
- The old description of the sticker.
-
getNewDescription
java.util.Optional<java.lang.String> getNewDescription()
Gets the new description of the sticker.- Returns:
- The new description of the sticker.
-
-