mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 17:21:31 +00:00
parent
ba7c2db364
commit
ba11f76284
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ class Message {
|
||||||
if (data.reactions.length > 0) {
|
if (data.reactions.length > 0) {
|
||||||
for (const reaction of data.reactions) {
|
for (const reaction of data.reactions) {
|
||||||
const id = reaction.emoji.id ? `${reaction.emoji.name}:${reaction.emoji.id}` : reaction.emoji.name;
|
const id = reaction.emoji.id ? `${reaction.emoji.name}:${reaction.emoji.id}` : reaction.emoji.name;
|
||||||
this.reactions.set(id, new MessageReaction(this, data.emoji, data.count, data.me));
|
this.reactions.set(id, new MessageReaction(this, reaction.emoji, reaction.count, reaction.me));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue