calculateShardId

Calculates the shard ID for a guild based on its ID.

Signature

export declare function calculateShardId(guildId: string, shards?: number): number;
JSDoc
Parameters
guildId
The ID of the guild.
shards
The number of shards to calculate the ID for.
Returns

The shard ID.

Members

This export does not declare public properties or methods in the generated declaration file.