Would someone explain how sharding works, specifically discord.ext.commands.AutoShardedBot
?
I put multiple questions below:
Thanks for your time.
(guild_id >> 22) % shard_count
if you need to split it to multiple machines, you can pass shard_id
and shard_count
to a normal Bot
instance.