Package net.dv8tion.jda.api.events.role
Class RoleDeleteEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.role.GenericRoleEvent
-
- net.dv8tion.jda.api.events.role.RoleDeleteEvent
-
- All Implemented Interfaces:
GenericEvent
public class RoleDeleteEvent extends GenericRoleEvent
Indicates that aRole
was deleted.Can be used to retrieve the deleted Role and its Guild.
-
-
Constructor Summary
Constructors Constructor Description RoleDeleteEvent(JDA api, long responseNumber, Role deletedRole)
-
Method Summary
-
Methods inherited from class net.dv8tion.jda.api.events.role.GenericRoleEvent
getGuild, getRole
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-