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 remaining
Any idea what's causing this?
3 Replies
d.js toolkit
d.js toolkit2mo ago
- 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 OP
Amgelo
Amgelo2mo ago
you'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
ElJay
ElJayOP2mo ago
okay so definitely a restart issue then, thanks
Want results from more Discord servers?
Add your server