Not enough sessions remaining error

[COMMANDS] Registering command: volume from file commands/music/volume.js /home/king/Desktop/music-bot/node_modules/@discordjs/ws/dist/index.js:1458 throw new Error( ^ Error: Not enough sessions remaining to spawn 1 shards; only 0 remaining; resets at 2025-06-11T05:21:36.305Z at WebSocketManager.connect (/home/king/Desktop/music-bot/node_modules/@discordjs/ws/dist/index.js:1458:13) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async WebSocketManager.connect (/home/king/Desktop/music-bot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:203:5) at async Client.login (/home/king/Desktop/music-bot/node_modules/discord.js/src/client/Client.js:229:7) Node.js v22.15.1
5 Replies
Drac
DracOP•3mo ago
when i run the bot i get this error
Drac
DracOP•3mo ago
No description
INSANE17?.!!
INSANE17?.!!•3mo ago
Run :
npm install git+https://github.com/Ecliptia/moonlink.js.git
npm install git+https://github.com/Ecliptia/moonlink.js.git
Drac
DracOP•3mo ago
still same "moonlink.js": "git+https://github.com/Ecliptia/moonlink.js.git", Ok suddenly it got fixed
MEE6
MEE6•3mo ago
GG @Drac, you just advanced to level 1!

Did you find this page helpful?