Class MessageReactionRemoveAllEvent
- java.lang.Object
-
- net.dv8tion.jda.api.events.Event
-
- net.dv8tion.jda.api.events.message.GenericMessageEvent
-
- net.dv8tion.jda.api.events.message.react.MessageReactionRemoveAllEvent
-
- All Implemented Interfaces:
GenericEvent
public class MessageReactionRemoveAllEvent extends GenericMessageEvent
Indicates the the reactions of a message have been cleared by a moderatorCan be used to detect when the reactions of a message are removed by a moderator
Requirements
This event requires at least one of the following intents (Will not fire at all if neither is enabled):
GUILD_MESSAGE_REACTIONS
to work in guild text channelsDIRECT_MESSAGE_REACTIONS
to work in private channels
-
-
Constructor Summary
Constructors Constructor Description MessageReactionRemoveAllEvent(JDA api, long responseNumber, long messageId, MessageChannel channel)
-
Method Summary
-
Methods inherited from class net.dv8tion.jda.api.events.message.GenericMessageEvent
getChannel, getChannelType, getGuild, getMessageId, getMessageIdLong, getPrivateChannel, getTextChannel, isFromGuild, isFromType
-
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
MessageReactionRemoveAllEvent
public MessageReactionRemoveAllEvent(@Nonnull JDA api, long responseNumber, long messageId, @Nonnull MessageChannel channel)
-
-