From b001e194f117ca8cfc9bcc9eb62dd7aab07988f7 Mon Sep 17 00:00:00 2001 From: GrapeColor <40069549+GrapeColor@users.noreply.github.com> Date: Fri, 12 Nov 2021 03:21:45 +0900 Subject: [PATCH] fix(MessageReaction): Cache myself when `MessageReaction#me` is `true`. (#6956) Co-authored-by: GrapeColor --- src/structures/MessageReaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/MessageReaction.js b/src/structures/MessageReaction.js index 1a20aa2e0cbd..8a294be09f82 100644 --- a/src/structures/MessageReaction.js +++ b/src/structures/MessageReaction.js @@ -34,7 +34,7 @@ class MessageReaction { * A manager of the users that have given this reaction * @type {ReactionUserManager} */ - this.users = new ReactionUserManager(this); + this.users = new ReactionUserManager(this, this.me ? [client.user] : []); this._emoji = new ReactionEmoji(this, data.emoji);