Class ReactionRemoveEvent


  • public class ReactionRemoveEvent
    extends MessageEvent
    Dispatched when a reaction is removed on a message.

    guildId may not be present if the message was in a private channel.

    This event is dispatched by Discord.

    See Also:
    Message Reaction Remove
    • Method Detail

      • getUserId

        public Snowflake getUserId()
        Gets the Snowflake ID of the User who's reaction has been removed.
        Returns:
        The ID of the User who's reaction has been removed.
      • getUser

        public Mono<User> getUser()
        Requests to retrieve the User who's reaction has been removed.
        Returns:
        A Mono where, upon successful completion, emits the User who's reaction has been removed. If an error is received, it is emitted through the Mono.
      • getMessage

        public Mono<Message> getMessage()
        Requests to retrieve the Message the reaction was removed from.
        Returns:
        A Mono where, upon completion, emits the Message the reaction was removed from. If an error is received, it is emitted through the Mono.
      • getGuildId

        public Optional<Snowflake> getGuildId()
        Gets the Snowflake ID of the Guild the Message involved is in, if present. This may not be available if the Message was sent in a private channel.
        Returns:
        The ID of the Guild involved, if present.
      • getGuild

        public Mono<Guild> getGuild()
        Requests to retrieve the Guild the Message involved is in, if present. This may not be available if the Message was sent in a private channel.
        Returns:
        A Mono where, upon successful completion, emits the Guild containing the Message involved, if present. If an error is received, it is emitted through the Mono.
      • getEmoji

        public ReactionEmoji getEmoji()
        The ReactionEmoji that was removed from a message.
        Returns:
        The Emoji that has been removed.