Tools › Intents calculator

Discord gateway intents calculator

Tick what your bot listens to. You get the intents number and ready code, and a warning for the three privileged intents.

Intents

Result

How to use it

  1. Tick the eventsPick what your bot needs to see, or start from a preset.
  2. Check the warningPrivileged intents must also be switched on in the Developer Portal.
  3. Copy the codePaste the value or the ready code into your bot.

Questions

What are privileged intents?

Server Members, Presence and Message Content. They show more about people, so you switch them on yourself, and big bots need Discord's approval.

Do slash commands need Message Content?

No. Slash commands arrive as interactions. Only prefix commands like !help need to read message text.

Why does my bot get "disallowed intents"?

The code asks for a privileged intent that is off in the Developer Portal. Turn it on there, or remove it from the code.

Related tools

Made a bot? List it on Nunu List and post your server count with the API.