function fetchRecommendedShardCount

export function fetchRecommendedShardCount(token: string, options?: FetchRecommendedShardCountOptions): Promise<number>;

Gets the recommended shard count from Discord.

Returns: The recommended number of shards

Parameters

token: string
Discord auth token
optional
options?: FetchRecommendedShardCountOptions
Options for fetching the recommended shard count