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