Discord bot for developer utilities.
- Python 3.11+
- A Discord bot token (Discord Developer Portal)
| Variable | Required | Description |
|---|---|---|
DISCORD_API |
Yes | Discord bot token. Read at startup via os.getenv("DISCORD_API"). The process raises ValueError if it is missing or empty. |
Example:
export DISCORD_API="your-bot-token-here"
python devbot.pyOr a .env file loaded by your process manager / shell:
DISCORD_API=your-bot-token-hereDo not commit real tokens.
pip install -r requirements.txt
# or
uv syncSee LICENSE.