Skip to content

Commit

Permalink
fix(MessageReaction): Cache myself when MessageReaction#me is `true…
Browse files Browse the repository at this point in the history
…`. (#6956)

Co-authored-by: GrapeColor <grapecolor@users.noreply.github.com>
  • Loading branch information
GrapeColor and GrapeColor committed Nov 11, 2021
1 parent 8e881d2 commit b001e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/MessageReaction.js
Expand Up @@ -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);

Expand Down

0 comments on commit b001e19

Please sign in to comment.