Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add super-reactions to MESSAGE_REACTION_ADD and MESSAGE_REACTION_REMOVE #1

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions docs/topics/Gateway_Events.md
Original file line number Diff line number Diff line change
Expand Up @@ -904,14 +904,16 @@ Sent when a user adds a reaction to a message.

###### Message Reaction Add Event Fields

| Field | Type | Description |
| ---------- | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| user_id | snowflake | ID of the user |
| channel_id | snowflake | ID of the channel |
| message_id | snowflake | ID of the message |
| guild_id? | snowflake | ID of the guild |
| member? | [member](#DOCS_RESOURCES_GUILD/guild-member-object) object | Member who reacted if this happened in a guild |
| emoji | a partial [emoji](#DOCS_RESOURCES_EMOJI/emoji-object) object | Emoji used to react - [example](#DOCS_RESOURCES_EMOJI/emoji-object-standard-emoji-example) |
| Field | Type | Description |
| ------------- | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| user_id | snowflake | ID of the user |
| channel_id | snowflake | ID of the channel |
| message_id | snowflake | ID of the message |
| guild_id? | snowflake | ID of the guild |
| member? | [member](#DOCS_RESOURCES_GUILD/guild-member-object) object | Member who reacted if this happened in a guild |
| emoji | a partial [emoji](#DOCS_RESOURCES_EMOJI/emoji-object) object | Emoji used to react - [example](#DOCS_RESOURCES_EMOJI/emoji-object-standard-emoji-example) |
| burst | boolean | true if this is a super-reaction |
| burst_colors? | array of strings | Colors used for super-reaction animation in "#rrggbb" format |

#### Message Reaction Remove

Expand All @@ -926,6 +928,7 @@ Sent when a user removes a reaction from a message.
| message_id | snowflake | ID of the message |
| guild_id? | snowflake | ID of the guild |
| emoji | a partial [emoji](#DOCS_RESOURCES_EMOJI/emoji-object) object | Emoji used to react - [example](#DOCS_RESOURCES_EMOJI/emoji-object-standard-emoji-example) |
| burst | boolean | true if this was a super-reaction |

#### Message Reaction Remove All

Expand Down