From e4208a396122f0fc93b10fe9ccd293e2506b72a0 Mon Sep 17 00:00:00 2001 From: Jonathan Rubenstein Date: Fri, 14 Jul 2023 13:27:18 +0300 Subject: [PATCH] Add super-reactions to MESSAGE_REACTION_ADD and MESSAGE_REACTION_REMOVE --- docs/topics/Gateway_Events.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/topics/Gateway_Events.md b/docs/topics/Gateway_Events.md index 089635d124..2bc73fd9df 100644 --- a/docs/topics/Gateway_Events.md +++ b/docs/topics/Gateway_Events.md @@ -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 @@ -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