Class MessageReactionAddEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.message.GenericMessageEvent
net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
net.dv8tion.jda.api.events.message.react.MessageReactionAddEvent
- All Implemented Interfaces:
GenericEvent
Indicates that a user added a reaction to a message
This includes unicode and custom emoji
This includes unicode and custom emoji
Can be used to track when a user adds a reaction to a message
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
ConstructorDescriptionMessageReactionAddEvent
(JDA api, long responseNumber, User user, Member member, MessageReaction reaction, long userId) -
Method Summary
Methods inherited from class net.dv8tion.jda.api.events.message.react.GenericMessageReactionEvent
getMember, getReaction, getReactionEmote, getUser, getUserId, getUserIdLong, retrieveMember, retrieveMessage, retrieveUser
Methods inherited from class net.dv8tion.jda.api.events.message.GenericMessageEvent
getChannel, getChannelType, getGuild, getGuildChannel, getMessageId, getMessageIdLong, getNewsChannel, getPrivateChannel, getTextChannel, getThreadChannel, isFromGuild, isFromThread, isFromType
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getResponseNumber
-
Constructor Details
-
MessageReactionAddEvent
-