discordb/config.toml
2025-07-14 01:38:51 +03:00

33 lines
760 B
TOML

# Discord Data Collector Configuration
[database]
# JSON database file path
path = "data/users.json"
# Backup interval in seconds (3600 = 1 hour)
backup_interval = 3600
[collection]
# What data to collect
profile_pictures = true
bio = true
status = true
server_membership = true
[rate_limiting]
# Delay between API requests in seconds
request_delay = 1.0
# Maximum requests per minute
max_requests_per_minute = 120
[monitoring]
# List of specific server IDs to monitor (leave empty to monitor all)
# Example: target_servers = [123456789, 987654321]
target_servers = []
# Monitor all servers the account is in
monitor_all_servers = true
[logging]
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
level = "INFO"
# Log file path
file = "logs/collector.log"