Discord.JS \ Something took too long to do

javascript
#1

My bot is dont start because of this error.

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

at timeout.client.setTimeout (/rbd/pnpm-volume/8c36c030-ec3e-45d7-8fca-5e55f9886bbb/node_modules/.registry.npmjs.org/discord.js/11.4.2/node_modules/discord.js/src/client/ClientManager.js:40:57)

at Timeout.setTimeout [as _onTimeout] (/rbd/pnpm-volume/8c36c030-ec3e-45d7-8fca-5e55f9886bbb/node_modules/.registry.npmjs.org/discord.js/11.4.2/node_modules/discord.js/src/client/Client.js:433:7)

at ontimeout (timers.js:498:11)

at tryOnTimeout (timers.js:323:5)

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

(node:733) 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: 2)

(node:733) [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.

Can you fix it?
Project name: rtdbot-vsecret

#2

Hey @RaknaX, Try starting your bot now, The discord API was having issues today.
If it still didn’t work, Tell us