Class ForumTagUpdateModeratedEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.forum.GenericForumTagEvent
net.dv8tion.jda.api.events.channel.forum.update.GenericForumTagUpdateEvent<Boolean>
net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateModeratedEvent
- All Implemented Interfaces:
GenericEvent,UpdateEvent<ForumTag,Boolean>
Indicates that the
moderated status of a ForumTag changed.
Requirements
This requires CacheFlag.FORUM_TAGS to be enabled.
JDABuilder.createLight(...) disables this by default.
Identifier: moderated
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionForumTagUpdateModeratedEvent(JDA api, long responseNumber, IPostContainer channel, ForumTag tag, boolean previous) -
Method Summary
Modifier and TypeMethodDescriptionThe new valueThe old valueMethods inherited from class net.dv8tion.jda.api.events.channel.forum.update.GenericForumTagUpdateEvent
getEntity, getPropertyIdentifierMethods inherited from class net.dv8tion.jda.api.events.channel.forum.GenericForumTagEvent
getChannel, getTagMethods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getRawData, getResponseNumberMethods inherited from interface net.dv8tion.jda.api.events.UpdateEvent
getEntityType
-
Field Details
-
IDENTIFIER
- See Also:
-
-
Constructor Details
-
ForumTagUpdateModeratedEvent
-
-
Method Details
-
getOldValue
Description copied from interface:UpdateEventThe old value- Specified by:
getOldValuein interfaceUpdateEvent<ForumTag,Boolean> - Overrides:
getOldValuein classGenericForumTagUpdateEvent<Boolean>- Returns:
- The old value
-
getNewValue
Description copied from interface:UpdateEventThe new value- Specified by:
getNewValuein interfaceUpdateEvent<ForumTag,Boolean> - Overrides:
getNewValuein classGenericForumTagUpdateEvent<Boolean>- Returns:
- The new value
-