Comprobot uses TOML configuration files stored in the bot’s data directory. On Linux this is typically ~/.local/share/Comprobot/, on Mac it’s ~/Library/Application Support/Comprobot/, and on Windows it’s %APPDATA%\Comprobot\.
Configuration Files
| File | Description |
|---|---|
| Config | Basic bot settings (prefix, admins, ASCII art) |
| Active Commands | Enable/disable individual commands |
| Keywords | Customize command triggers and aliases |
| Error Messages | Custom error messages for failed commands |
| Output | Customize command output format with variables |
| AI | AI chat settings (provider, model, prompts) |
| Moderation | Automatic moderation for banned words |
| Money | User balances (auto-managed) |
| Descriptions | Command descriptions shown in !help |
Getting Started
You can edit any .toml file directly with a text editor. Changes take effect after restarting the bot. For a quicker way to configure things, use the built-in config editor:
# Interactive TUI editor
comprobot config
# Non-interactive: edit a specific key
comprobot config ai provider groq
comprobot config secrets BOT_TOKEN abcKeep your .env file private — it contains your bot token and API keys.