automate::sharding
pub fn shard_id(total_shards: u64, guild_id: Snowflake) -> u32
Calculates the id of the shard a guild will be handled by.