Skip to content

Commit

Permalink
fix: Backport MessageReaction#me being incorrectly false (#7553)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Mar 2, 2022
1 parent ee1698d commit 5f621c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/MessageReaction.js
Expand Up @@ -114,7 +114,7 @@ class MessageReaction {
if (this.partial) return;
this.users.cache.set(user.id, user);
if (!this.me || user.id !== this.message.client.user.id || this.count === 0) this.count++;
this.me ??= user.id === this.message.client.user.id;
this.me ||= user.id === this.message.client.user.id;
}

_remove(user) {
Expand Down

0 comments on commit 5f621c1

Please sign in to comment.