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
Privileged: . Turn them on in the Developer Portal › your app › Bot › Privileged Gateway Intents. Bots in 100 or more servers need Discord's approval for them.
How to use it
- Tick the eventsPick what your bot needs to see, or start from a preset.
- Check the warningPrivileged intents must also be switched on in the Developer Portal.
- 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.