UpdateEvent<Role,java.lang.Boolean>public class RoleUpdateHoistedEvent extends GenericRoleUpdateEvent<java.lang.Boolean>
Role updated its hoist state.
Can be used to retrieve the hoist state.
Identifier: hoist
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
IDENTIFIER |
| Constructor | Description |
|---|---|
RoleUpdateHoistedEvent​(JDA api,
long responseNumber,
Role role,
boolean wasHoisted) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
wasHoisted() |
Whether the role was hoisted
|
getJDA, getResponseNumbergetGuild, getRolegetEntity, getNewValue, getOldValue, getPropertyIdentifier, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntityTypepublic static final java.lang.String IDENTIFIER