init commit
This commit is contained in:
16
data/config.yaml
Normal file
16
data/config.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
homeserver_url: "https://example.org"
|
||||
bot_user: "@MediaBot:example.org"
|
||||
bot_password: "bot_password"
|
||||
trusted_homeservers:
|
||||
- "example.org"
|
||||
command_prefix: "!media"
|
||||
|
||||
download_audio:
|
||||
services:
|
||||
youtube:
|
||||
tmp_dir: "/tmp" # Директория для временных файлов
|
||||
timeout: 300 # Таймаут загрузки в секундах
|
||||
proxy: none # Прокси для загрузки (например: "socks5://user:pass@host:port")
|
||||
enabled: true
|
||||
audio_quality: 192 # Качество аудио в kbps
|
||||
max_duration: 1200 # Макс. длительность в секундах
|
||||
Reference in New Issue
Block a user