Blancoda goat

Bot developer

Shard Calculator & Gateway Bot

Compute guild shard IDs and fetch recommended shard counts from Discord gateway/bot.

Guild shard ID
Recommended shard count

Calls Discord GET /gateway/bot from your browser. Your bot token is sent only to discord.com, never to BlancoKit and never stored.

How to use

  1. Guild shard ID: enter your bot's total shard count and a guild ID (from Invite Resolver, Developer Mode → Copy Server ID, or Message Link Parser). The formula is (guild_id >> 22) % shard_count.
  2. Recommended shards: paste your bot token and click Fetch. The request runs in your browser to discord.com only. BlancoKit never receives the token.
  3. Use the returned shard count when configuring horizontal scaling for large bots.

Frequently asked questions

How is the shard number calculated?
Discord uses (guild_id >> 22) % shard_count. Enter your shard count and guild ID to see the assigned shard.
Is my bot token stored?
No. The gateway fetch runs in your browser and sends the token only to discord.com. BlancoKit never receives or logs it.
How do I enable Developer Mode in Discord?
Guild shard ID: enter your bot's total shard count and a guild ID (from Invite Resolver, Developer Mode → Copy Server ID, or Message Link Parser). The formula is (guild_id >> 22) % shard_count.