GenericRoleUpdateEvent
, RoleCreateEvent
, RoleDeleteEvent
public abstract class GenericRoleEvent extends Event
Role
was created/deleted/changed.
Can be used to detect any RoleEvent.
Constructor | Description |
---|---|
GenericRoleEvent(JDA api,
long responseNumber,
Role role) |
Modifier and Type | Method | Description |
---|---|---|
Guild |
getGuild() |
The guild of the role
|
Role |
getRole() |
The role for this event
|
getJDA, getResponseNumber