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

@ -36,6 +36,8 @@ matrix_go_skype_bridge_homeserver_token: ''
matrix_go_skype_bridge_appservice_bot_username: skypebridgebot
matrix_go_skype_bridge_command_prefix: "!skype"
# Whether or not created rooms should have federation enabled.
# If false, created portal rooms will never be federated.
matrix_go_skype_bridge_federate_rooms: true

View File

@ -165,7 +165,7 @@ bridge:
allow_user_invite: false
# The prefix for commands. Only required in non-management rooms.
command_prefix: "!wa"
command_prefix: "{{ matrix_go_skype_bridge_command_prefix }}"
# End-to-bridge encryption support options. This requires login_shared_secret to be configured
# in order to get a device for the bridge bot.