Files

28 lines
1.5 KiB
YAML
Executable File

# Change name to config.yaml when all info is filled in.
username: "magbot"
password: "Dont tek psswrd"
homeserver: "https://matrix.dinguscloud.com" # Matrix homeserver the bot connects to
#room_id: "!ajyOBbqoCIbBhEqNPU:matrix.org" # Magbot Testing Space
#room_id: "!HXiyYVEZOMRtkyvarN:jupiterbroadcasting.com" # The Lunch
lookback_seconds: 86400 # 24 hours
lookback_limit: 400 # 400 messages
dump_mode: False
dbName: "my_db_name"
vote_host: "localhost" # Hostname where voting interface is accessible (e.g., "localhost", "example.com", "vote.mysite.xyz")
# vote_path: "my-room-slug" # Optional URL path for this room's voting page (auto-derived from the room name if unset)
vote_activity_hours: 72 # Hours a user must have been active within to be eligible to vote
# --- Wait times (seconds) ---
sync_timeout: 3000 # Initial sync timeout for scraper/user-list (ms)
poll_interval: 30 # How often the scraper polls for new messages (s)
command_sync_timeout: 30000 # Sync timeout when listening for chat commands (ms)
post_interval: 0.5 # Delay between posting each suggestion (s)
initial_sync_timeout: 300 # Initial sync timeout for post_results (ms)
post_loop_interval: 1 # Delay between post_results loop iterations (s)
user_list_interval: 300 # How often the user-list service refreshes (s)
user_list_retry_interval: 60 # Retry delay on user-list error (s)
# --- Feature toggles ---
suggestion_announce_interval: 0 # Post a vote-beta announcement every N suggestions received (0 = disabled)