No description
|
All checks were successful
/ test (push) Successful in 18s
As the name implies, the Debug cog is solely there to debug stuff. In the future the commands in that cog should only respond to whoever has the provided `BOT_OWNER_ID` (me). Additionally, extensions for discord.py are now loaded dynamically in `main.py`. Signed-off-by: Max R. Carrara <max@aequito.sh> |
||
|---|---|---|
| .forgejo/workflows | ||
| src/bot | ||
| tests | ||
| .gitignore | ||
| .python-version | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
stammtisch-bot
Environment Variables
| Name | Options | Default | Description |
|---|---|---|---|
BOT_LOG_LEVEL |
NOTSET, DEBUG, INFO, WARNING, ERROR, CRITICAL |
INFO |
The bot's log level. Corresponds to Python log levels |
BOT_MEMORY_DB |
0 or 1 |
0 |
When enabled, the database will reside in memory when the bot is started. This is useful for a debugging or testing instance. |
BOT_OWNER_ID |
int or None |
None |
The ID of the bot's owner. Should usually the person running the bot. |
BOT_PREFIX |
any string without whitespace | ! |
The prefix the bot will use for commands. |
BOT_TOKEN_FILE |
any valid filepath | ./token.txt |
A file containing the bot token. Will be read on startup. |