We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
undefined
1 parent 40fbd82 commit 2fa7d62Copy full SHA for 2fa7d62
packages/discord.js/src/structures/MessageReaction.js
@@ -36,7 +36,7 @@ class MessageReaction {
36
* Whether the client has super-reacted using this emoji
37
* @type {boolean}
38
*/
39
- this.meBurst = data.me_burst;
+ this.meBurst = Boolean(data.me_burst);
40
41
/**
42
* A manager of the users that have given this reaction
@@ -52,7 +52,7 @@ class MessageReaction {
52
}
53
54
_patch(data) {
55
- if ('burst_colors' in data) {
+ if (data.burst_colors) {
56
57
* Hexadecimal colors used for this super reaction
58
* @type {?string[]}
0 commit comments