4819bdb70e
- Externalize configuration to YAML (config_example.yaml) - Add config loader with validation in bot.py - Implement DatabaseManager for activity logging and user stats - Add message handlers with topic awareness - Include setup_venv.sh for automated environment setup - Add requirements.txt with dependencies (python-telegram-bot, PyYAML) - Comprehensive README with setup and configuration instructions
21 lines
537 B
YAML
21 lines
537 B
YAML
# LoggingBot Konfiguration
|
|
# Kopiere diese Datei zu 'config.yaml' und passe die Werte an
|
|
|
|
bot:
|
|
# Telegram Bot Token (von BotFather erhalten)
|
|
token: "YOUR_BOT_TOKEN_HERE"
|
|
# Debug-Ausgaben aktivieren/deaktivieren
|
|
debug_mode: true
|
|
|
|
database:
|
|
# Name der SQLite-Datenbank
|
|
name: "group_monitor.db"
|
|
|
|
logging:
|
|
# Aktiviere Datei-Logging (activity_log.txt)
|
|
write_to_file: true
|
|
# Dateiname für Aktivitätsprotokolle
|
|
file_name: "activity_log.txt"
|
|
# Python Logging Level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
|
|
level: "INFO"
|