CDC Bot is a Python-based Discord bot. To use it in your server, a bot administrator must host it and invite it using a Discord bot token. This page walks through what happens when the bot starts up and how to verify it is working in your server.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/cdc-bot/main/llms.txt
Use this file to discover all available pages before exploring further.
CDC Bot requires a Discord bot token stored in the
CDC_TOKEN environment variable to run. Contact your bot administrator if you need access.How CDC Bot starts
When CDC Bot launches, it:- Connects to Discord using the
CDC_TOKENenvironment variable - Loads four extension modules:
preferences,currency,marriages, andserver_preferences - Begins rotating its custom status every 5 minutes
- Registers all slash commands with Discord
Invite the bot to your server
Ask your bot administrator to generate an invite link with the following permissions:
- Read Messages / View Channels
- Send Messages
- Add Reactions
- Manage Messages (required for word games to delete incorrect messages)
- Read Message History
applications.commands scope to register slash commands.Verify the bot is online
Once invited, CDC Bot should appear online in your member list. Its status will rotate between custom messages every 5 minutes.
Debug mode
CDC Bot supports a debug mode for development. When theCDC_DEBUG environment variable is set to 1, the bot:
- Restricts slash command registration to a specific test guild
- Enables verbose logging at the
DEBUGlevel
Next steps
Configuration
Configure per-server and per-user preferences
Features overview
Explore what CDC Bot can do