Class GenericCategoryEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.channel.category.GenericCategoryEvent
-
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
CategoryCreateEvent
,CategoryDeleteEvent
,CategoryUpdatePermissionsEvent
,GenericCategoryUpdateEvent
public abstract class GenericCategoryEvent extends Event
Indicates that aCategory
was created/deleted/updated.
Every category event is a subclass of this event and can be castedCan be used to detect that any category event was fired
-
-
Constructor Summary
Constructors Constructor Description GenericCategoryEvent(JDA api, long responseNumber, Category category)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Category
getCategory()
The responsibleCategory
Guild
getGuild()
java.lang.String
getId()
The snowflake ID for the responsibleCategory
long
getIdLong()
The snowflake ID for the responsibleCategory
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-