Privileged Intents Required
Your bot needs privileged intents enabled in the Discord Developer Portal.
What happened
Your bot's code uses features that require special permissions called "Privileged Gateway Intents." Discord blocks bots from connecting unless these are explicitly enabled in the Developer Portal.
How to fix it
1
Go to the Discord Developer Portal
Open discord.com/developers/applications and select your bot application.
2
Navigate to the Bot section
Click "Bot" in the left sidebar.
3
Scroll to Privileged Gateway Intents
Scroll down until you see the "Privileged Gateway Intents" section.
4
Enable all three intents
Toggle ON all three:
- Presence Intent — lets your bot see who's online
- Server Members Intent — lets your bot see member lists
- Message Content Intent — lets your bot read message text
- Presence Intent — lets your bot see who's online
- Server Members Intent — lets your bot see member lists
- Message Content Intent — lets your bot read message text
5
Save changes
Click "Save Changes" at the bottom of the page.
6
Start your bot again
Go back to Discord and try the command again. BotNinja will start your bot with the new permissions.