Lingo.Event.Reaction (Lingo v0.4.2)

Copy Markdown View Source

The payload of :message_reaction_add, :message_reaction_remove and :message_reaction_remove_emoji (which has no user_id or member). burst marks super reactions.

Summary

Types

t()

@type t() :: %Lingo.Event.Reaction{
  burst: boolean(),
  burst_colors: [String.t()],
  channel_id: String.t(),
  emoji: Lingo.Type.Emoji.t(),
  guild_id: String.t() | nil,
  member: Lingo.Type.Member.t() | nil,
  message_author_id: String.t() | nil,
  message_id: String.t(),
  type: integer(),
  user_id: String.t()
}