This page is generated from
docs/bot_application_guide.rst- please edit the source file instead of this page.
Creating a bot account
To use Red you will require a bot account and to enable privileged intents. Both these steps will be covered below.
Creating the bot application
In order to use Red, we must first create a Discord Bot account.
Creating a Bot account is a pretty straightforward process.
-
Make sure you're logged on to the Discord website.
-
Navigate to the application page
-
Click on the "New Application" button.
-
Give the application a name, check the box to accept the Terms of Service, and click "Create".
-
Open the "Overview" category and navigate to the "Installation" tab on the left side of the screen.
-
Uncheck "User Install" and set "Install Link" to "None"
-
Navigate to the "Bot" tab on the left side of the screen.
-
If you want others to be able to invite your bot tick the Public Bot. Keeping it unticked will prevent others from inviting your bot to their servers and only you will be able to add the bot to servers (provided that you have needed permissions in the server you want to add the bot to).
- Make sure Require OAuth2 Code Grant is unchecked.
-
Acquire the token using the "Reset Token" button, then "Copy" after it is revealed.
WARNING
Do not share your token as it is like your password. If you shared your token you can regenerate it.
Continue to the next section to enable privileged intents.
Enabling Privileged Intents
WARNING
In its default (highly recommended) configuration, Red requires enabling the Guild (Server) Members Intent and Message Content Intent. You can read more about this in the About Privileged Intents document.
- Make sure you're logged on to the Discord website.
- Navigate to the application page
- Click on the bot you want to enable privileged intents for.
- Navigate to the bot tab on the left side of the screen.
- Scroll down to the "Privileged Gateway Intents" section, enable the Server Members Intent and Message Content Intent, then save your changes.
WARNING
If your bot is accessible to 10,000 or more users across all the servers it's in, Discord will ask you to submit a request for review of your bot's use of the Privileged Intents. This usually happens within 24 hours of your bot reaching the 10,000-user threshold.
We explain what Privileged Intents are and how to apply for them in the About Privileged Intents document.
Parts of this guide have been adapted from discord.py intro and discord.py privileged intents.
Installation Guides
- Installing Red
- Creating a bot account
- Updating Red
- Backing Up and Restoring Red
- About Virtual Environments
- Setting up auto-restart using batch on Windows
- Setting up auto-restart on Mac
- Setting up auto-restart using systemd on Linux
Cog Reference
User guides
- Getting started
- Running Red on Fluxer
- About Privileged Intents
- About public (big) bots
- Admin
- Alias
- Audio
- Cleanup
- Cog Manager UI
- Core
- CustomCommands
- Dev
- Downloader
- Economy
- Filter
- General
- Image
- Permissions
- Mod
- ModLog
- Mutes
- Reports
- Streams
- Trivia
- Warnings
- Red and End User Data
Cog Creation Guides
- Creating cogs for Red
- Slash Commands and Interactions
- Publishing cogs for Red
- Becoming an Approved Cog Creator
- Versioning
- End-user Guarantees
- Developer Guarantees
- Breaking Change Notices
Cog Development Framework Reference
- Shared API Keys
- Bank
- Bot
- Command Check Decorators
- App Command Check Decorators
- Commands Package
- App Commands Package
- Config
- Data Manager
- Custom Events
- Internationalization Framework
- Mod log
- RPC
- Tree
- Utility Functions
Others
Legacy (Red V2)






