fetchRecommendedShardCount

export function fetchRecommendedShardCount(token: string, options?: FetchRecommendedShardCountOptions): Promise<number>;
export function fetchRecommendedShardCount(token: string, options?: FetchRecommendedShardCountOptions): Promise<number>;
Gets the recommended shard count from Discord.
Returns
The recommended number of shards
NameTypeOptionalDescription
tokenstringNoDiscord auth token
optionsFetchRecommendedShardCountOptionsYesOptions for fetching the recommended shard count