BLANCO
Developer · blancodagoat.dev
DISCORD GATEWAY INTENTS
Gateway intents are a bitfield you send when your bot connects. They tell Discord which categories of events to stream to you. Request only what you use — and know that three intents are privileged and need extra setup.
→ OPEN THE INTENTS CALCULATORTHE THREE PRIVILEGED INTENTS
GUILD_MEMBERS= 2 (1 << 1) — member join/leave/update events and the full member list.GUILD_PRESENCES= 256 (1 << 8) — presence/status updates.MESSAGE_CONTENT= 32768 (1 << 15) — the actual text/attachments of messages.- Enable each in the Developer Portal. At 100+ servers your bot must be verified and approved to keep them.
COMMON NON-PRIVILEGED INTENTS
GUILDS= 1 (1 << 0)GUILD_MODERATION= 4 (1 << 2)GUILD_VOICE_STATES= 128 (1 << 7)GUILD_MESSAGES= 512 (1 << 9)GUILD_MESSAGE_REACTIONS= 1024 (1 << 10)DIRECT_MESSAGES= 4096 (1 << 12)
WORKED EXAMPLE
- A bot that reads slash-adjacent messages needs: Guilds + Guild Messages + Message Content.
- 1 | 512 | 32768 = 33281
- Pass that number as
intentswhen you connect — but only after enabling Message Content in the portal.
FAQ
What are gateway intents?
A bitfield sent on connect that tells Discord which event groups to stream. Requesting only the intents you use cuts the traffic your bot processes.
Which intents are privileged?
Guild Members (2), Guild Presences (256), and Message Content (32768). Enable each in the Developer Portal; at 100+ servers you must be verified to keep them.
Why is message content empty?
Message Content is privileged. Text stays empty until you flip the Message Content Intent toggle in the Developer Portal, even if you request it in code. The intents calculator shows which of your selected intents are privileged.