Open sudomakecoffee opened 2 years ago
Current implementation manages all server connections in a single thread. Discord.js has functionality to put a guild connection on it's own threading, called sharding. Rework the core bot code to take advantage of sharding.
Sharding isn't recommended until the bot is in 2000 servers. Punt for future work.
Docs at time of writing: https://discordjs.guide/sharding/
Current implementation manages all server connections in a single thread. Discord.js has functionality to put a guild connection on it's own threading, called sharding. Rework the core bot code to take advantage of sharding.