2024-04-03 22:57:54 -06:00
|
|
|
auth:
|
|
|
|
username: exportbot
|
|
|
|
password: password1234
|
|
|
|
homeserver: https://pantalaimon.example.com
|
|
|
|
|
|
|
|
# Where to cache the bot's login info.
|
|
|
|
store_path: ./bots
|
|
|
|
|
|
|
|
command_prefix: '!export'
|
|
|
|
|
|
|
|
# How often a room is allowed to be exported.
|
|
|
|
# If an export failed, the interval will be half of this value.
|
|
|
|
export_interval: 3600
|
|
|
|
|
2024-04-04 15:04:13 -06:00
|
|
|
# How many rooms will be exported concurrently.
|
|
|
|
concurrent_exports: 3
|
|
|
|
|
|
|
|
# Whitelist of usernames that are allowed to use the export bot.
|
|
|
|
allowed_to_export:
|
|
|
|
- '@bob:example.com'
|
|
|
|
|
2024-04-03 22:57:54 -06:00
|
|
|
r2:
|
|
|
|
bucket_name: export-bot
|
|
|
|
accountid: 12345
|
|
|
|
access_key_id: 67890
|
|
|
|
access_key_secret: abc1234
|
|
|
|
pub_url: https://pub-example12345.r2.dev
|