UpdateEvent<Role,java.lang.Boolean>
public class RoleUpdateMentionableEvent extends GenericRoleUpdateEvent<java.lang.Boolean>
Role
updated its mentionable state.
Can be used to retrieve the old mentionable state.
Identifier: mentionable
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
IDENTIFIER |
Constructor | Description |
---|---|
RoleUpdateMentionableEvent(JDA api,
long responseNumber,
Role role,
boolean wasMentionable) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
wasMentionable() |
Whether the role was mentionable
|
getJDA, getResponseNumber
getGuild, getRole
getEntity, getNewValue, getOldValue, getPropertyIdentifier, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntityType
public static final java.lang.String IDENTIFIER