Package net.dv8tion.jda.api.events.role
Class GenericRoleEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.role.GenericRoleEvent
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
GenericRoleUpdateEvent
,RoleCreateEvent
,RoleDeleteEvent
Indicates that a
Every RoleEvent is derived from this event and can be casted.
Role
was created/deleted/changed.
Every RoleEvent is derived from this event and can be casted.
Can be used to detect any RoleEvent.
-
Constructor Summary
-
Method Summary
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
Constructor Details
-
GenericRoleEvent
-
-
Method Details
-
getRole
The role for this event- Returns:
- The role for this event
-
getGuild
The guild of the role- Returns:
- The guild of the role
-