Bot mode
When you create a character on AICord, it is a webhook-based character by default, but if you want to run it as a Discord bot, you can do that by enabling bot mode for it.
The bot is completely yours, and will be able to do everything AICord currently does - we'll be just hosting it for you & providing the AI service.
This page guides you through how to get the token and enable bot mode. We're assuming you already have an AICord AI Character set up in your Discord server.
Step 1: Creating a Discord Bot
1. Create Your Discord Application
Go to the Discord Developer Portal.
Click "New Application".
Give it a name (this is just for your own reference in the Developer Portal).
Click "Create".
You can also give it a name and an image - optionally, you want this to be the same as your character's name and image
2. Turn It Into a Bot
Inside your new application, go to the "Bot" tab on the left.
Click "Add Bot" → Confirm with "Yes, do it!"
Now you’ll see your actual bot user, which is what will appear in Discord servers.
Important: The bot’s name and profile picture come from here—not the application name.
3. Set Character’s Display Name and Profile Picture
Still in the Bot tab:
Click the avatar to upload a profile picture (512x512 is ideal).
Click the bot’s username to change it—this is the name that shows up in chat.
Save changes. It might take a few minutes to update across Discord.
4. Set Required Bot Permissions
In the left sidebar, go to OAuth2 → URL Generator.
Under Scopes, check
bot
.Under Bot Permissions, select the permissions your bot will need. For most AICord bots, we recommend:
Administrator
- This gives the bot permission to do everything, making your character more capable.
Copy the generated URL at the bottom and open it in your browser to invite the bot to your server so you can use it and test it!
Important! Keep your bot token as secure as possible because if your bot has admin and someone gets your token, every server can be destroyed where the bot is in!
5. Enable Privileged Intents
In the Bot tab, scroll down to the Privileged Gateway Intents section.
Enable the following intents:
MESSAGE CONTENT INTENT – required for your bot to read message text, needed for AICord-style interaction.
SERVER MEMBERS INTENT – required, your bot needs access to member info (e.g., for personalizing responses).
Click Save Changes at the bottom.
6. Get the Bot Token
Still in the Bot tab, click "Reset Token" → Confirm → then copy the token.
⚠️ Important: This token is your bot’s password. Don’t share it publicly. If it leaks, regenerate it immediately.
Paste this token into the AICord dashboard when editing your bot character (next step).
Step 2: Enabling Bot Mode
1. Edit your AICord character
Go to the AICord Dashboard.
Ensure that the right server is selected
On the side panel, go to "🤖 Characters" → "My Characters"
Click "Edit" on the character you want to enable bot mode for
Go to the "Bot Mode" section using the side panel
Paste your bot's token from the previous step
If you're done, click the "Turn on bot" at the bottom of the section!

If you've done everything correctly, you should see a notification about it
2. Test Your Bot Character
Ensure your bot is added to a Discord server where it has the necessary permissions to operate.
Ensure everything works:
Pay attention to any errors or unexpected behaviors and adjust your bot configuration as necessary or contact AICord Developers on the support server if you're unsure about anything!
Last updated