diff --git a/docs/resources/Channel.md b/docs/resources/Channel.md index 8c20d01307..beeb76ec2e 100644 --- a/docs/resources/Channel.md +++ b/docs/resources/Channel.md @@ -384,11 +384,16 @@ Represents a message sent in a channel within Discord. "reactions": [ { "count": 1, + "count_details": { + "burst": 0, + "normal": 1 + }, "me": false, "emoji": { - "id": null, - "name": "🔥" - } + "id": null, + "name": "🔥" + }, + "burst_colors": [] } ], "attachments": [], @@ -420,11 +425,17 @@ Represents a message sent in a channel within Discord. "reactions": [ { "count": 1, + "count_details": { + "burst": 0, + "normal": 1 + }, "me": false, + "me_burst": false, "emoji": { - "id": null, - "name": "🔥" - } + "id": null, + "name": "🔥" + }, + "burst_colors": [] } ], "attachments": [], @@ -525,11 +536,25 @@ There are multiple message types that have a message_reference object. Since me ###### Reaction Structure -| Field | Type | Description | -| ----- | ---------------------------------------------------------- | ------------------------------------------------- | -| count | integer | times this emoji has been used to react | -| me | boolean | whether the current user reacted using this emoji | -| emoji | partial [emoji](#DOCS_RESOURCES_EMOJI/emoji-object) object | emoji information | +| Field | Type | Description | +| ------------- | ---------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| count | integer | Total number of times this emoji has been used to react (including super reacts) | +| count_details | object | [Reaction count details object](#DOCS_RESOURCES_CHANNEL/reaction-count-details-object) | +| me | boolean | Whether the current user reacted using this emoji | +| me_burst | boolean | Whether the current user super-reacted using this emoji | +| emoji | partial [emoji](#DOCS_RESOURCES_EMOJI/emoji-object) object | emoji information | +| burst_colors | array | HEX colors used for super reaction | + +### Reaction Count Details Object + +The reaction count details object contains a breakdown of normal and super reaction counts for the associated emoji. + +###### Reaction Count Details Structure + +| Field | Type | Description | +| ------ | --------- | ----------------------------- | +| burst | integer | Count of super reactions | +| normal | integer | Count of normal reactions | ### Overwrite Object diff --git a/docs/topics/Opcodes_and_Status_Codes.md b/docs/topics/Opcodes_and_Status_Codes.md index f85d5915b9..99ed640eca 100644 --- a/docs/topics/Opcodes_and_Status_Codes.md +++ b/docs/topics/Opcodes_and_Status_Codes.md @@ -275,6 +275,7 @@ Along with the HTTP error code, our API can also return more detailed error code | 60003 | Two factor is required for this operation | | 80004 | No users with DiscordTag exist | | 90001 | Reaction was blocked | +| 90002 | User cannot use burst reactions | | 110001 | Application not yet available. Try again later | | 130000 | API resource is currently overloaded. Try again a little later | | 150006 | The Stage is already open |