Discord Bot Gateway Intents Calculator
Pick the Discord Gateway Intents your bot needs and copy the bitfield + ready-to-paste discord.js v14 / discord.py 2.x snippets. All 21 intents — Guilds, Members, Moderation, Expressions, Voice States, Presences, Messages, Reactions, Typing, Polls, Auto Moderation, Scheduled Events. Privileged-intent warnings, bot-archetype presets (music, mod, polls, AutoMod, levels, reaction roles), and a decoder for existing integers. The fix for 'why isn't my bot getting messages?'
The single integer your bot sends in the IDENTIFY opcode (op 2) over the gateway.
Paste any intents integer to see which intents it represents.
// discord.js v14+ — pass to Client constructor
import { Client, GatewayIntentBits } from 'discord.js';
const client = new Client({
intents: [
GatewayIntentBits.Guilds,
],
});Quick-pick presets
Server
Messages (Server)
Messages (DM)
Content
Auto Moderation
FAQ
Why is my bot not receiving message events?
Either you didn't request GUILD_MESSAGES, or you did but message content (message.content) is empty because MESSAGE_CONTENT isn't enabled. MESSAGE_CONTENT is privileged — toggle it in the Developer Portal. Bots in 100+ guilds also need Discord approval.
Do I need privileged intents for slash commands?
No. Slash commands deliver as INTERACTION_CREATE, which doesn't require any intents. You only need GUILDS if you want guild lifecycle events.
What are the three privileged intents?
GUILD_MEMBERS, GUILD_PRESENCES, and MESSAGE_CONTENT. All three must be enabled in the Developer Portal AND approved by Discord if your bot is in 100+ servers.
Can I just request all intents to be safe?
No. Discord throttles or rejects bots that over-request privileged intents without a stated reason during verification. Pick the minimum set your bot actually uses — this calculator's presets are the patterns Discord expects to see.
Why do bits 17–19, 22–23 not exist?
Discord reserves those positions internally. The next public intent after GUILD_SCHEDULED_EVENTS (bit 16) is AUTO_MODERATION_CONFIGURATION at bit 20. Polls land at bits 24/25.
Where do I configure these in my code?
Pass the bitfield (or library equivalent) to your client constructor — for discord.js, in new Client({ intents: [...] }); for discord.py, via discord.Client(intents=intents). For other libraries (JDA, DSharpPlus, Eris, serenity), use the raw bitfield from the tab above. It's a connection-time setting on your gateway IDENTIFY payload — don't put it in your slash command.
Discord Bot Gateway Intents Calculator — FAQ
Is this Discord Bot Gateway Intents Calculator free to use?
Yes, the Discord Bot Gateway Intents Calculator is 100% free — no signup required, no hidden fees, no downloads. Everything runs in your browser.
How accurate is the Discord Bot Gateway Intents Calculator?
Values are pulled from the Discord Bot game files and community-verified formulas. Results match what you see in-game, and we update the tool when the game gets major patches.
Can I host a Discord Bot server with XGamingServer?
Yes. XGamingServer offers instant Discord Bot server hosting with mod support, automatic backups, DDoS protection, and 24/7 support. All popular game settings are pre-configured.
Does the Gateway Intents Calculator work on mobile?
Yes, the Gateway Intents Calculator is fully responsive and works on desktop, tablet, and mobile browsers.
You might also need
Timestamp Generator
Generate Discord's <t:…> timestamp markdown in every format — short/long date, short/long time, short/long full, relative. Live preview as Discord actually renders it.
Permissions Calculator
Build Discord bot/role permission bit-mask integers. Toggle all 41 permissions (Administrator, Kick, Ban, Manage Channels, Send Messages, Use Slash Commands, etc.) and copy the decimal integer for your OAuth URL or role config.
Snowflake Decoder
Decode any Discord snowflake ID (user, message, channel, guild) to its exact timestamp, internal worker ID, process ID, and increment counter. Paste any ID, get the breakdown instantly.
Embed Builder
Visual builder for Discord embeds — title, description, fields, author, thumbnail, image, footer, color. Live Discord-accurate preview + copy-ready JSON payload + optional direct-to-webhook send.

Config Tool Built Into XGamingServer
Get managed Discord Bot hosting with this tool in your panel — configure, deploy, and play in minutes. No file uploads needed.