fetchGatewayBot
fetchGatewayBot(
token):Promise<GatewayBotInfo>
Defined in: packages/sharding/src/gateway-bot.ts:21
Asks Discord for the recommended shard count and the IDENTIFY budget.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<GatewayBotInfo>
Throws
Section titled “Throws”If the request fails or the answer is not usable.