I recently created a discord.js bot with node.js. However, I can't start my bot, because its timing out.
Error: Something took too long to do.
at timeout.client.setTimeout (C:\Users\User\Desktop\tntbot\node_modules\discord.js\src\client\ClientManager.js:40:57)
at Timeout.setTimeout (C:\Users\User\Desktop\tntbot\node_modules\discord.js\src\client\Client.js:422:7)
at ontimeout (timers.js:386:14)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)
That's what I get on every start. I checked the code, it has no problem.
Please help.
Okay, I found the problem.
For some strange reasons, Discord generated a new token, and I used the old one.
Sorry for the misunderstanding.
Have a great day!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With