Files
SummaryDiscordBot/discord_bot/config/config.toml.example
2025-12-12 15:31:27 +00:00

29 lines
856 B
Plaintext

[Bot]
# Discord bot token from https://discord.com/developers/applications
token = "YOUR_BOT_TOKEN_HERE"
# Discord application ID
application_id = "YOUR_APPLICATION_ID_HERE"
# Discord user IDs of bot owners (can use admin commands)
owner_ids = ["YOUR_USER_ID_HERE"]
# Logging configuration
log_level = "INFO"
log_format = "<green>{time:YYYY-MM-DD HH:mm:ss}</green> | <level>{level: <8}</level> | <cyan>{name}</cyan>:<cyan>{function}</cyan>:<cyan>{line}</cyan> - <level>{message}</level>"
# HTTP client settings
http_timeout = 30.0
max_retries = 3
# Command prefix for text commands (slash commands don't need this)
command_prefix = ["s!", "S!"]
# Debug mode (enables verbose logging)
debug = false
# Backend API URL (the Rust summarizer API)
# Must include the full path to the API version, e.g., /api/v1/
api_url = "http://127.0.0.1:3001/api/v1/"