View Source Nostrum.Struct.Event.MessageReactionAdd (Nostrum v0.10.0)
Sent when a user adds a reaction to a message
Summary
Types
Channel in which the reaction was added
The (partial) emoji used to react
Guild ID in which the reaction was added, if applicable
The member who reacted, if this happened on a guild
Message to which the reaction was added
Event sent when a user adds a reaction to a message
ID of the user who added the reaction
Types
@type channel_id() :: Nostrum.Struct.Channel.id()
Channel in which the reaction was added
@type emoji() :: Nostrum.Struct.Emoji.t()
The (partial) emoji used to react
@type guild_id() :: Nostrum.Struct.Guild.id() | nil
Guild ID in which the reaction was added, if applicable
@type member() :: Nostrum.Struct.Guild.Member.t() | nil
The member who reacted, if this happened on a guild
@type message_id() :: Nostrum.Struct.Message.id()
Message to which the reaction was added
@type t() :: %Nostrum.Struct.Event.MessageReactionAdd{ channel_id: channel_id(), emoji: emoji(), guild_id: guild_id(), member: member(), message_id: message_id(), user_id: user_id() }
Event sent when a user adds a reaction to a message
@type user_id() :: Nostrum.Struct.User.id()
ID of the user who added the reaction