Strange session error when logging in.
This error is being thrown when I call
client.login(token)
:
Not enough sessions remaining to spawn 1 shards; only 0 remainingAny idea what's causing this?
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!
- ✅
Marked as resolved by OPyou've logged over 1000 times today
discord should've sent you a dm about it
you probably have something like pm2 setup and your bot was in a loop of crashing > starting > crashing until it reached 1k
okay so definitely a restart issue then, thanks