Class MessageReactionAddEvent

All Implemented Interfaces:
GenericEvent

public class MessageReactionAddEvent extends GenericMessageReactionEvent
Indicates that a user added a reaction to a message
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):

  • Constructor Details

  • Method Details

    • getMessageAuthorId

      @Nonnull public String getMessageAuthorId()
      The user id of the original message author.
      This might be 0 for webhook messages.
      Returns:
      The user id of the original message author.
    • getMessageAuthorIdLong

      public long getMessageAuthorIdLong()
      The user id of the original message author.
      This might be 0 for webhook messages.
      Returns:
      The user id of the original message author.