Package net.dv8tion.jda.api.events.role
Class RoleCreateEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.role.GenericRoleEvent
-
- net.dv8tion.jda.api.events.role.RoleCreateEvent
-
- All Implemented Interfaces:
GenericEvent
public class RoleCreateEvent extends GenericRoleEvent
Indicates that aRole
was created.Can be used to retrieve the created Role and its Guild.
-
-
Constructor Summary
Constructors Constructor Description RoleCreateEvent(JDA api, long responseNumber, Role createdRole)
-
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
-
-