Interface KnownCustomEmojiChangeWhitelistedRolesEvent
-
- All Superinterfaces:
Event,KnownCustomEmojiEvent,ServerEvent
public interface KnownCustomEmojiChangeWhitelistedRolesEvent extends KnownCustomEmojiEvent
A custom emoji change whitelisted roles event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.util.Set<Role>>getNewWhitelistedRoles()Gets the new whitelisted roles.java.util.Optional<java.util.Set<Role>>getOldWhitelistedRoles()Gets the old whitelisted roles.-
Methods inherited from interface org.javacord.api.event.server.emoji.KnownCustomEmojiEvent
getEmoji
-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
-
-
-
Method Detail
-
getOldWhitelistedRoles
java.util.Optional<java.util.Set<Role>> getOldWhitelistedRoles()
Gets the old whitelisted roles.- Returns:
- The old whitelisted roles.
-
getNewWhitelistedRoles
java.util.Optional<java.util.Set<Role>> getNewWhitelistedRoles()
Gets the new whitelisted roles.- Returns:
- The new whitelisted roles.
-
-