Sharding in discord.js
Before You Begin
Sharding should only be done when necessary, which according to the Discord API is when your bot is on 2,500 servers. So if your bot is no where near this amount, I and the entire discord.js team highly recommend not even worrying about sharding. But since it's a briefly explained topic, I'm here to help you out.
Additionally, if you are not familiar with the Discord API, specifically discord.js, it's highly recommended that you familiarize yourself with it before intending to shard.
If you would like to contribute to this GitBook please direct message
i am toast#1213 on Discord or create a pull request on this repository.