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.
Would someone explain how sharding works, specifically discord.ext.commands.AutoShardedBot
? I put multiple questions below:
Thanks for your time.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.