How to run¶
Requirements¶
- Python 3.11 or 3.12
- Discord bot token in an environment variable named
DISCORD_TOKEN
- Optional: database connection string if your setup uses one
Steps¶
- Create and activate a virtualenv
- Install runtime dependencies of the bot
- Export
DISCORD_TOKEN
- Run
python main.py
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
export DISCORD_TOKEN=xxx
python main.py