mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix: Backport MessageReaction#me being incorrectly false (#7553)
This commit is contained in:
@@ -114,7 +114,7 @@ class MessageReaction {
|
|||||||
if (this.partial) return;
|
if (this.partial) return;
|
||||||
this.users.cache.set(user.id, user);
|
this.users.cache.set(user.id, user);
|
||||||
if (!this.me || user.id !== this.message.client.user.id || this.count === 0) this.count++;
|
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) {
|
_remove(user) {
|
||||||
|
|||||||
Reference in New Issue
Block a user