Documentation
Enabling intents
"Intents" determine which events a Discord bot is allowed to receive from Discord. For your own bots connected to Cordavix (Bring Your Own Bot) you have to enable certain intents yourself in the Discord Developer Portal, because Discord leaves them disabled by default.
Where to find them
Open your application in the Discord Developer Portal (discord.com/developers/applications), switch to the "Bot" tab and scroll to the "Privileged Gateway Intents" section.
SERVER MEMBERS INTENT
This intent allows the bot to receive complete information about server members – for example when someone joins or leaves the server. Without this intent, the following will not work properly, among others:
- welcome and farewell messages work only to a limited extent or not at
all,
- automatic role assignment on joining,
- correct member counts in statistics.
MESSAGE CONTENT INTENT
This intent allows the bot to read the actual text content of messages. It is required for, among other things:
- AutoMod (detection of spam, forbidden words, invite links etc.),
- the level system (awarding XP based on message activity),
- custom commands with text triggers.
Without this intent, pure slash commands continue to work, but every feature that reacts to normal chat messages remains ineffective.
Enabling them
In Discord, switch both toggles "Server Members Intent" and "Message Content Intent" to active and save the change using the "Save Changes" button at the bottom of the screen. Changes only take effect after your bot instance has been restarted.
Connection test in the dashboard
The setup wizard for your own bots automatically checks whether the necessary intents are enabled and shows you the result step by step. If an intent is missing, the dashboard tells you exactly which toggle is still missing in the Developer Portal – so you do not have to guess.
Important with many servers
As soon as a bot runs on more than 100 servers, Discord additionally requires verification of your application for privileged intents. For most of the bots people run themselves within Cordavix this is not relevant at first, but it is good to know in case your own bot grows strongly.
Was this article helpful?
Did not find what you were looking for? Get in touch →