| Recommend this page to a friend! |
| Packages of Max | Fenrir | examples/06-sharding.md | Download |
|
|
||||||||||||||||||||
Filtered event listenerBigger bots will require to use sharding. With sharding, you can split up the amount of Guilds a process handles, making it possible to scale your bot horizontally. For this, you can use The constructor takes 2 parameters,
You can then pass this Note that this method takes an instance of Refer to the Discord developer documentation for more info on sharding. |