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, getResponseNumber
getEmote, getGuild, isManaged
getEntity, getNewValue, getOldValue, getPropertyIdentifier, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntityType
public static final java.lang.String IDENTIFIER