UpdateEvent<Emote,java.util.List<Role>>public class EmoteUpdateRolesEvent extends GenericEmoteUpdateEvent<java.util.List<Role>>
Emote changed.
Can be used to retrieve the old role whitelist
Identifier: roles
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
IDENTIFIER |
| Constructor | Description |
|---|---|
EmoteUpdateRolesEvent(JDA api,
long responseNumber,
Emote emote,
java.util.List<Role> oldRoles) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<Role> |
getNewRoles() |
The new role whitelist
|
java.util.List<Role> |
getOldRoles() |
The old role whitelist
|
getJDA, getResponseNumbergetEmote, getGuild, isManagedgetEntity, getNewValue, getOldValue, getPropertyIdentifier, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntityTypepublic static final java.lang.String IDENTIFIER