Bot developer
Shard Calculator & Gateway Bot
Compute guild shard IDs and fetch recommended shard counts from Discord gateway/bot.
How to use
- 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.
- Recommended shards: paste your bot token and click Fetch. The request runs in your browser to discord.com only. BlancoKit never receives the token.
- 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.