Class GenericForumTagEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.forum.GenericForumTagEvent
- All Implemented Interfaces:
GenericEvent
- Direct Known Subclasses:
ForumTagAddEvent
,ForumTagRemoveEvent
,GenericForumTagUpdateEvent
Abstraction of all tags relating to
ForumTag
changes (excluding ThreadChannel.getAppliedTags()
).
Requirements
This requires CacheFlag.FORUM_TAGS
to be enabled.
JDABuilder.createLight(...)
disables this by default.
-
Constructor Summary
ConstructorDescriptionGenericForumTagEvent
(JDA api, long responseNumber, IPostContainer channel, ForumTag tag) -
Method Summary
Modifier and TypeMethodDescriptionTheIPostContainer
which has been updated.getTag()
TheForumTag
that was affected by this eventMethods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
GenericForumTagEvent
-
-
Method Details
-
getChannel
TheIPostContainer
which has been updated.- Returns:
- The
IPostContainer
-
getTag
TheForumTag
that was affected by this event- Returns:
- The
ForumTag
-