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_whatsapp_homeserver_address: "{{ matrix_homeserver_container_url
matrix_mautrix_whatsapp_homeserver_domain: "{{ matrix_domain }}"
matrix_mautrix_whatsapp_appservice_address: "http://matrix-mautrix-whatsapp:8080"
matrix_mautrix_whatsapp_command_prefix: "!wa"
# A list of extra arguments to pass to the container
matrix_mautrix_whatsapp_container_extra_arguments: []

View File

@ -139,7 +139,7 @@ bridge:
federate_rooms: {{ matrix_mautrix_whatsapp_federate_rooms|to_json }}
# The prefix for commands. Only required in non-management rooms.
command_prefix: "!wa"
command_prefix: "{{ matrix_mautrix_whatsapp_command_prefix }}"
# Messages sent upon joining a management room.
# Markdown is supported. The defaults are listed below.