Skip to content
uxTools
Gaming

Discord Gateway Intents Calculator

Pick the gateway intents your bot needs and get the exact intents integer it sends when connecting to the gateway, computed live.

Intents value
3 intents
33281

Privileged intents (Message Content) must be enabled in the Developer Portal and approved for verified apps.

Presets

Gateway intents

discord.js (GatewayIntentBits)

import { Client, GatewayIntentBits } from "discord.js";

const client = new Client({
  intents: [
    GatewayIntentBits.Guilds,
    GatewayIntentBits.GuildMessages,
    GatewayIntentBits.MessageContent,
  ],
});

discord.py (discord.Intents)

import discord

intents = discord.Intents.none()
intents.guilds = True
intents.guild_messages = True
intents.message_content = True

client = discord.Client(intents=intents)

How this value works

Every gateway intent is a single bit (a power of two). The intents you select are combined with a bitwise OR into one integer, which your bot sends when it connects to the gateway. Because the highest assigned bit is well under the safe integer range, the calculation uses a plain number. GUILD_MEMBERS, GUILD_PRESENCES and MESSAGE_CONTENT are privileged and must be enabled separately in the Developer Portal. Bit positions are taken from the official Discord developer documentation.