Issue with offline bot that worked few hours ago

Hi,
I am hosting a discord bot on glitch and recently i got issue that caused bot to go offline. I don’t know much about it but console showed me up that error :

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

6:09 PM

at timeout.client.setTimeout (/rbd/pnpm-volume/054152e2-2998-4c3d-98e6-6c77b4060c77/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/ClientManager.js:40:57)

6:09 PM

at Timeout.setTimeout [as _onTimeout] (/rbd/pnpm-volume/054152e2-2998-4c3d-98e6-6c77b4060c77/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/Client.js:436:7)

6:09 PM

at ontimeout (timers.js:436:11)

6:09 PM

at tryOnTimeout (timers.js:300:5)

6:09 PM

at listOnTimeout (timers.js:263:5)

6:09 PM

at Timer.processTimers (timers.js:223:10)

6:09 PM

(node:3158) 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: 6)

6:09 PM

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

My project is named prmgdbot and i hope somebody can help me.

Hi @BlandArmandillo, welcome to the Glitch forums! This seems to be a common error with Discord projects. The issue is that many Glitch projects share IP addresses – when one of them pings the Discord API too many times (possibly from an error, possibly just while it’s under development) the Discord API will block the IP, and all Discord bots on that IP will get that error.

If you add your project name to this thread, an admin will move your project to a new host and the issue should be resolved. Good luck, and happy Glitching!

Discord Ban mega-thread the second! (Discord bot / Something took too long to do)