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, getResponseNumbergetGuild, getRolegetEntity, getNewValue, getOldValue, getPropertyIdentifier, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntityTypepublic static final java.lang.String IDENTIFIER