Spoder
Spoder
DIAdiscord.js - Imagine an app
Created by Spoder on 4/7/2024 in #djs-questions
Discord bot keeps going offline for no reason
There are no errors in the logs, I'm using PM2 so I don't think its anything related to the bot not receiving requests, I'm so lost right now in terms of whats going on Bot is in 1500 servers, sharded Using discordjs v14
19 replies
DIAdiscord.js - Imagine an app
Created by Spoder on 3/19/2024 in #djs-questions
Sharding help
Hey so I need some help with sharding, my bot is now at 1500 servers so I assume thats why its spawning 2 shards, however its messing with my current code that listens on ports, both shards listen to the same port, and the result is an error that says the port is already in use Furthermore, when removing ports for now, it returns errors when I'm replying to slash commands, not sure whats up as this has never happened until it spawned 2 shards Im sort of new to sharding, so this is a little hard to understand right now, I've read the documentation but I cant seem to wrap my head around what I need to change, and how to change it
3 replies