Skip to content

fetchGuildCount

fetchGuildCount(token): Promise<number>

Defined in: packages/sharding/src/gateway-bot.ts:91

Asks Discord how many guilds the bot is in (approximate_guild_count of the application).

string

Promise<number>

If the request fails or the answer is not usable.