Error: Something took too long to do Discord JS

Whenever I try and run my code this is the error given
Project name: discordbot3

(node:661) UnhandledPromiseRejectionWarning: Error: Something took too long to do.

2:24 PM

at timeout.client.setTimeout (/rbd/pnpm-volume/430a26e4-75f0-48fa-9cfd-9e878b5e758b/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/ClientManager.js:40:57)

2:24 PM

at Timeout.setTimeout [as _onTimeout] (/rbd/pnpm-volume/430a26e4-75f0-48fa-9cfd-9e878b5e758b/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/Client.js:436:7)

2:24 PM

at ontimeout (timers.js:498:11)

2:24 PM

at tryOnTimeout (timers.js:323:5)

2:24 PM

at Timer.listOnTimeout (timers.js:290:5)

2:24 PM

(node:661) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 8)

2:24 PM

(node:661) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

probably your bot would be active soon

Have a nice day!

1 Like

Thanks, you too
(asdasjfha) letters because it needs to be 20 characters

2 Likes