@@ -22,11 +22,31 @@ matrix_mautrix_discord_data_path: "{{ matrix_mautrix_discord_base_path }}/data"
2222matrix_mautrix_discord_docker_src_files_path : "{{ matrix_mautrix_discord_base_path }}/docker-src"
2323
2424matrix_mautrix_discord_homeserver_address : ""
25- matrix_mautrix_discord_homeserver_public_address : ''
2625matrix_mautrix_discord_homeserver_domain : "{{ matrix_domain }}"
2726matrix_mautrix_discord_appservice_address : "http://matrix-mautrix-discord:8080"
2827
29- matrix_mautrix_discord_command_prefix : "!discord"
28+ matrix_mautrix_discord_bridge_command_prefix : "!discord"
29+
30+ # Publicly accessible base URL that Discord can use to reach the bridge, used for avatars in relay mode.
31+ # If not set, avatars will not be bridged. Only the /mautrix-discord/avatar/{server}/{id}/{hash} endpoint is used on this address.
32+ # This should not have a trailing slash, the endpoint above will be appended to the provided address.
33+ matrix_mautrix_discord_bridge_public_address : ''
34+
35+ # A random key used to sign the avatar URLs. The bridge will only accept requests with a valid signature.
36+ matrix_mautrix_discord_bridge_avatar_proxy_key : ''
37+
38+ # Localpart template of MXIDs for Discord users.
39+ # {{ '{{.}}' }} is replaced with the internal ID of the Discord user.
40+ matrix_mautrix_discord_bridge_username_template : "{% raw %}discord_{{.}}{% endraw %}"
41+
42+ # Displayname template for Discord users. This is also used as the room name in DMs if private_chat_portal_meta is enabled.
43+ matrix_mautrix_discord_bridge_displayname_template : "{% raw %}{{or .GlobalName .Username}}{{if .Bot}} (bot){{end}}{% endraw %}"
44+
45+ # Displayname template for Discord channels (bridged as rooms, or spaces when type=4).
46+ matrix_mautrix_discord_bridge_channel_name_template : "{% raw %}{{if or (eq .Type 3) (eq .Type 4)}}{{.Name}}{{else}}#{{.Name}}{{end}}{% endraw %}"
47+
48+ # Displayname template for Discord guilds (bridged as spaces).
49+ matrix_mautrix_discord_bridge_guild_name_template : "{% raw %}{{.Name}}{% endraw %}"
3050
3151matrix_mautrix_discord_bridge_permissions : |
3252 {{
@@ -56,6 +76,8 @@ matrix_mautrix_discord_appservice_token: ''
5676matrix_mautrix_discord_homeserver_token : ''
5777
5878matrix_mautrix_discord_appservice_bot_username : discordbot
79+ matrix_mautrix_discord_appservice_bot_displayname : Discord bridge bot
80+ matrix_mautrix_discord_appservice_bot_avatar : mxc://maunium.net/nIdEykemnwdisvHbpxflpDlC
5981
6082matrix_mautrix_discord_provisioning_shared_secret : disable
6183
@@ -162,6 +184,9 @@ matrix_mautrix_discord_registration: "{{ matrix_mautrix_discord_registration_yam
162184# Enable End-to-bridge encryption
163185matrix_mautrix_discord_bridge_encryption_allow : "{{ matrix_bridges_encryption_enabled }}"
164186matrix_mautrix_discord_bridge_encryption_default : "{{ matrix_bridges_encryption_default }}"
187+ matrix_mautrix_discord_bridge_encryption_require : false
188+ matrix_mautrix_discord_bridge_encryption_appservice : false
189+ matrix_mautrix_discord_bridge_encryption_plaintext_mentions : false
165190matrix_mautrix_discord_bridge_encryption_key_sharing_allow : "{{ matrix_mautrix_discord_bridge_encryption_allow }}"
166191
167192# On Conduit versions before 0.5.0 this option prevented users from joining spaces created by the bridge.
0 commit comments