Error with my Discord Bot

I am remixing a Discord bot that fetches data from Google Sheets. The bot used to work, but then I noticed that it was offline on my Discord server, although the Uptime Monitor shows that it is online. When I checked the console, I found this error:

(node:544) UnhandledPromiseRejectionWarning: Error: Something took too long to do.
    at timeout.client.setTimeout (/rbd/pnpm-volume/0be04d99-7540-41f3-96f0-0d16fc82a413/node_modules/.registry.npmjs.org/discord.js/11.5.1/erlpack@0.1.0/node_modules/discord.js/src/client/ClientManager.js:40:57)
    at Timeout.setTimeout [as _onTimeout] (/rbd/pnpm-volume/0be04d99-7540-41f3-96f0-0d16fc82a413/node_modules/.registry.npmjs.org/discord.js/11.5.1/erlpack@0.1.0/node_modules/discord.js/src/client/Client.js:436:7)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
    at listOnTimeout (timers.js:263:5)
    at Timer.processTimers (timers.js:223:10)
(node:544) 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: 11)
(node:544) [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.

The project can be found at https://glitch.com/~bussibot.

2 posts were merged into an existing topic: Discord Ban mega-thread the second! (Discord bot / Something took too long to do)