calculateShardId
export declare function calculateShardId(guildId: string, shardCount: number): number;
export declare function calculateShardId(guildId: string, shardCount: number): number;
Calculates the shard id for a given guild id.
Name | Type | Optional | Description |
---|---|---|---|
guildId | string | No | The guild id to calculate the shard id for |
shardCount | number | No | The total number of shards |