-
Hello, I was wondering if there was a recommended method for testing sharding in Discord.JS My bot has reached the 2,500 server limit, and I'm trying to implement sharding. I believe I have everything set up properly via the documentation, but I don't know how to test the changes in my environment. So is it possible to shard a test version of a bot across just two servers? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If your bot isn't very heavy and is running fine, you can use internal sharding instead, which often requires zero changes on your end, see the tip in the guide: I recommend using internal sharding over process sharding ( |
Beta Was this translation helpful? Give feedback.
If your bot isn't very heavy and is running fine, you can use internal sharding instead, which often requires zero changes on your end, see the tip in the guide:
I recommend using internal sharding over process sharding (
ShardingManager
) mainly on the basis of efficiency, as it uses a lot less memory to run, and simplicity, as you don't have to implement code specifically for it, specially if you do cross-shard tasks.