bots: make command_prefix configurable

This commit is contained in:
3hhh
2022-07-04 22:53:43 +02:00
parent 2e4fad6194
commit 097c23c0b6
22 changed files with 33 additions and 11 deletions

View File

@ -23,6 +23,8 @@ matrix_mautrix_telegram_base_path: "{{ matrix_base_data_path }}/mautrix-telegram
matrix_mautrix_telegram_config_path: "{{ matrix_mautrix_telegram_base_path }}/config"
matrix_mautrix_telegram_data_path: "{{ matrix_mautrix_telegram_base_path }}/data"
matrix_mautrix_telegram_command_prefix: "!tg"
# Get your own API keys at https://my.telegram.org/apps
matrix_mautrix_telegram_api_id: ''
matrix_mautrix_telegram_api_hash: ''

View File

@ -276,7 +276,7 @@ bridge:
list: []
# The prefix for commands. Only required in non-management rooms.
command_prefix: "!tg"
command_prefix: "{{ matrix_mautrix_telegram_command_prefix }}"
# Permissions for using the bridge.
# Permitted values: