1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00

bots: make command_prefix configurable

This commit is contained in:
3hhh 2022-07-04 22:53:43 +02:00
parent 2e4fad6194
commit 097c23c0b6
No known key found for this signature in database
GPG Key ID: EB03A691DB2F0833
22 changed files with 33 additions and 11 deletions

View File

@ -17,6 +17,8 @@ matrix_bot_matrix_reminder_bot_config_path: "{{ matrix_bot_matrix_reminder_bot_b
matrix_bot_matrix_reminder_bot_data_path: "{{ matrix_bot_matrix_reminder_bot_base_path }}/data"
matrix_bot_matrix_reminder_bot_data_store_path: "{{ matrix_bot_matrix_reminder_bot_data_path }}/store"
matrix_bot_matrix_reminder_bot_command_prefix: "!"
# A list of extra arguments to pass to the container
matrix_bot_matrix_reminder_bot_container_extra_arguments: []

View File

@ -1,5 +1,5 @@
# The string to prefix bot commands with
command_prefix: "!"
command_prefix: "{{ matrix_bot_matrix_reminder_bot_command_prefix }}"
# Options for connecting to the bot's Matrix account
matrix:

View File

@ -27,6 +27,8 @@ matrix_beeper_linkedin_appservice_address: "http://matrix-beeper-linkedin:29319"
matrix_beeper_linkedin_bridge_presence: true
matrix_beeper_linkedin_command_prefix: "!li"
# A list of extra arguments to pass to the container
matrix_beeper_linkedin_container_extra_arguments: []

View File

@ -226,7 +226,7 @@ bridge:
# The prefix for commands. Only required in non-management rooms.
command_prefix: "!li"
command_prefix: "{{ matrix_beeper_linkedin_command_prefix }}"
# Permissions for using the bridge.
# Permitted values:

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.

View File

@ -17,6 +17,8 @@ matrix_mautrix_facebook_config_path: "{{ matrix_mautrix_facebook_base_path }}/co
matrix_mautrix_facebook_data_path: "{{ matrix_mautrix_facebook_base_path }}/data"
matrix_mautrix_facebook_docker_src_files_path: "{{ matrix_mautrix_facebook_base_path }}/docker-src"
matrix_mautrix_facebook_command_prefix: "!fb"
# Whether or not the public-facing endpoints should be enabled (web-based login)
matrix_mautrix_facebook_appservice_public_enabled: true

View File

@ -86,7 +86,7 @@ bridge:
- first_name
# The prefix for commands. Only required in non-management rooms.
command_prefix: "!fb"
command_prefix: "{{ matrix_mautrix_facebook_command_prefix }}"
# Number of chats to sync (and create portals for) on startup/login.
# Set 0 to disable automatic syncing.

View File

@ -24,6 +24,8 @@ matrix_mautrix_googlechat_homeserver_address: "{{ matrix_homeserver_container_ur
matrix_mautrix_googlechat_homeserver_domain: '{{ matrix_domain }}'
matrix_mautrix_googlechat_appservice_address: 'http://matrix-mautrix-googlechat:8080'
matrix_mautrix_googlechat_command_prefix: "!gc"
# Controls whether the matrix-mautrix-googlechat container exposes its HTTP port (tcp/8080 in the container).
#
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:9007"), or empty string to not expose.

View File

@ -62,7 +62,7 @@ bridge:
- name
# The prefix for commands. Only required in non-management rooms.
command_prefix: "!HO"
command_prefix: "{{ matrix_mautrix_googlechat_command_prefix }}"
# Number of chats to sync (and create portals for) on startup/login.
# Maximum 20, set 0 to disable automatic syncing.

View File

@ -24,6 +24,8 @@ matrix_mautrix_hangouts_homeserver_address: "{{ matrix_homeserver_container_url
matrix_mautrix_hangouts_homeserver_domain: '{{ matrix_domain }}'
matrix_mautrix_hangouts_appservice_address: 'http://matrix-mautrix-hangouts:8080'
matrix_mautrix_hangouts_command_prefix: "!HO"
# Controls whether the matrix-mautrix-hangouts container exposes its HTTP port (tcp/8080 in the container).
#
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:9007"), or empty string to not expose.

View File

@ -62,7 +62,7 @@ bridge:
- name
# The prefix for commands. Only required in non-management rooms.
command_prefix: "!HO"
command_prefix: "{{ matrix_mautrix_hangouts_command_prefix }}"
# Number of chats to sync (and create portals for) on startup/login.
# Maximum 20, set 0 to disable automatic syncing.

View File

@ -22,6 +22,8 @@ matrix_mautrix_instagram_homeserver_address: "{{ matrix_homeserver_container_url
matrix_mautrix_instagram_homeserver_domain: '{{ matrix_domain }}'
matrix_mautrix_instagram_appservice_address: 'http://matrix-mautrix-instagram:29330'
matrix_mautrix_instagram_command_prefix: "!ig"
# A list of extra arguments to pass to the container
matrix_mautrix_instagram_container_extra_arguments: []

View File

@ -176,7 +176,7 @@ bridge:
unimportant_bridge_notices: true
# The prefix for commands. Only required in non-management rooms.
command_prefix: "!ig"
command_prefix: "{{ matrix_mautrix_instagram_command_prefix }}"
# Permissions for using the bridge.
# Permitted values:
# user - Use the bridge with puppeting.

View File

@ -30,6 +30,8 @@ matrix_mautrix_signal_homeserver_address: ''
matrix_mautrix_signal_homeserver_domain: ''
matrix_mautrix_signal_appservice_address: 'http://matrix-mautrix-signal:29328'
matrix_mautrix_signal_command_prefix: "!signal"
# Controls whether the matrix-mautrix-signal container exposes its port (tcp/29328 in the container).
#
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:9006"), or empty string to not expose.

View File

@ -197,7 +197,7 @@ bridge:
shared_secret: generate
# The prefix for commands. Only required in non-management rooms.
command_prefix: "!signal"
command_prefix: "{{ matrix_mautrix_signal_command_prefix }}"
# Messages sent upon joining a management room.
# Markdown is supported. The defaults are listed below.

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:

View File

@ -22,6 +22,8 @@ matrix_mautrix_twitter_homeserver_address: "{{ matrix_homeserver_container_url }
matrix_mautrix_twitter_homeserver_domain: '{{ matrix_domain }}'
matrix_mautrix_twitter_appservice_address: 'http://matrix-mautrix-twitter:29327'
matrix_mautrix_twitter_command_prefix: "!tw"
# A list of extra arguments to pass to the container
matrix_mautrix_twitter_container_extra_arguments: []

View File

@ -163,7 +163,7 @@ bridge:
resend_bridge_info: false
# The prefix for commands. Only required in non-management rooms.
command_prefix: "!tw"
command_prefix: "{{ matrix_mautrix_twitter_command_prefix }}"
# Permissions for using the bridge.
# Permitted values:

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.