The problem with shards
The bot was launched two days ago, it was on the host, it worked 24/7, in a single instance, but yesterday something happened and the bot suddenly died, and when it started, there were errors, although there were no incomplete sessions, etc.
Other bots don't have such problems.
I use the bot to synchronize users in the tg channel and the discord server.
3 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
v20.12.1 - node version
Yes, the bot was launched using pm2. When I logged into the VM, it showed 617 restarts.
The fact is that there are no other problems, the bot is working correctly (tested on another one), without errors in the console, I don't understand what could have happened
Will this limitation error go away over time?
You can always reset token and it will work right away
It worked for me
I might be wrong
It didn't end at that point atleast