Error

Error: Not enough sessions remaining to spawn 1 shards;
only 0 remaining; resets at 2023-10-01T05:06:15.846Z
at WebSocketManager.connect (E:\coding-work\wemine-bot\node_modules\@discordjs\ws\dist\index.js:1437:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async WebSocketManager.connect (E:\coding-work\wemine-bot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:207:5)
at async Client.login (E:\coding-work\wemine-bot\node_modules\discord.js\src\client\Client.js:226:7)
Error: Not enough sessions remaining to spawn 1 shards;
only 0 remaining; resets at 2023-10-01T05:06:15.846Z
at WebSocketManager.connect (E:\coding-work\wemine-bot\node_modules\@discordjs\ws\dist\index.js:1437:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async WebSocketManager.connect (E:\coding-work\wemine-bot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:207:5)
at async Client.login (E:\coding-work\wemine-bot\node_modules\discord.js\src\client\Client.js:226:7)
1 Reply
d.js toolkit
d.js toolkit9mo 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