From afe743ec45215f5cc4b05e964699286ac74549ab Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Sun, 27 Mar 2022 00:52:20 +0700 Subject: [PATCH] Fix D:\Breaker\SelfBot\node_modules\discord.js-selfbot-v13\src\managers\CachedManager.js:58 const entry = this.holds ? new this.holds(this.client, data, ...extras) : data; ^ TypeError: this.holds is not a constructor at ReactionUserManager._add (D:\Breaker\SelfBot\node_modules\discord.js-selfbot-v13\src\managers\CachedManager.js:58:32) at new CachedManager (D:\Breaker\SelfBot\node_modules\discord.js-selfbot-v13\src\managers\CachedManager.js:32:14) --- src/managers/ReactionUserManager.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/managers/ReactionUserManager.js b/src/managers/ReactionUserManager.js index cc86187..e9089a8 100644 --- a/src/managers/ReactionUserManager.js +++ b/src/managers/ReactionUserManager.js @@ -3,8 +3,7 @@ const { Collection } = require('@discordjs/collection'); const CachedManager = require('./CachedManager'); const { Error } = require('../errors'); -const User = require('../structures/User'); - +const { User } = require('discord.js-selfbot-v13'); /** * Manages API methods for users who reacted to a reaction and stores their cache. * @extends {CachedManager}