Search...

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.
NameTypeOptionalDescription
guildIdstringNoThe guild id to calculate the shard id for
shardCountnumberNoThe total number of shards