mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(MessageReaction): Cache myself when MessageReaction#me is true. (#6956)
Co-authored-by: GrapeColor <grapecolor@users.noreply.github.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user