mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-11-04 09:08:56 +01:00 
			
		
		
		
	Merge pull request #1915 from 3hhh/command_prefix
bots: make command_prefix configurable
This commit is contained in:
		@@ -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: []
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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:
 | 
			
		||||
 
 | 
			
		||||
@@ -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: []
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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:
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
@@ -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: []
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
@@ -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: ''
 | 
			
		||||
 
 | 
			
		||||
@@ -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:
 | 
			
		||||
 
 | 
			
		||||
@@ -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: []
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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:
 | 
			
		||||
 
 | 
			
		||||
@@ -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: []
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user