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, getPropertyIdentifier
Methods inherited from class net.dv8tion.jda.api.events.channel.forum.GenericForumTagEvent
getChannel, getTag
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getRawData, getResponseNumber
Methods 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:UpdateEvent
The old value- Specified by:
getOldValue
in interfaceUpdateEvent<ForumTag,
Boolean> - Overrides:
getOldValue
in classGenericForumTagUpdateEvent<Boolean>
- Returns:
- The old value
-
getNewValue
Description copied from interface:UpdateEvent
The new value- Specified by:
getNewValue
in interfaceUpdateEvent<ForumTag,
Boolean> - Overrides:
getNewValue
in classGenericForumTagUpdateEvent<Boolean>
- Returns:
- The new value
-