mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
feat(Managers): add customizable caching for managers (#6013)
This commit is contained in:
@@ -22,6 +22,7 @@ class MessageReaction {
|
||||
* @readonly
|
||||
*/
|
||||
Object.defineProperty(this, 'client', { value: client });
|
||||
|
||||
/**
|
||||
* The message that this reaction refers to
|
||||
* @type {Message}
|
||||
@@ -38,7 +39,7 @@ class MessageReaction {
|
||||
* A manager of the users that have given this reaction
|
||||
* @type {ReactionUserManager}
|
||||
*/
|
||||
this.users = new ReactionUserManager(client, undefined, this);
|
||||
this.users = new ReactionUserManager(this);
|
||||
|
||||
this._emoji = new ReactionEmoji(this, data.emoji);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user