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 aCategorywas 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 CategorygetCategory()The responsibleCategoryGuildgetGuild()java.lang.StringgetId()The snowflake ID for the responsibleCategorylonggetIdLong()The snowflake ID for the responsibleCategory-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-