Explorar el Código

Add (Discord) to discord displaynames

pull/4643/head
Benjamin Blacher hace 4 meses
padre
commit
42b9332d25
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      roles/custom/matrix-bridge-mautrix-discord/defaults/main.yml

+ 1
- 1
roles/custom/matrix-bridge-mautrix-discord/defaults/main.yml Ver fichero

@@ -59,7 +59,7 @@ matrix_mautrix_discord_bridge_avatar_proxy_key: ''
matrix_mautrix_discord_bridge_username_template: "{% raw %}discord_{{.}}{% endraw %}" matrix_mautrix_discord_bridge_username_template: "{% raw %}discord_{{.}}{% endraw %}"


# Displayname template for Discord users. This is also used as the room name in DMs if private_chat_portal_meta is enabled. # Displayname template for Discord users. This is also used as the room name in DMs if private_chat_portal_meta is enabled.
matrix_mautrix_discord_bridge_displayname_template: "{% raw %}{{or .GlobalName .Username}}{{if .Bot}} (bot){{end}}{% endraw %}"
matrix_mautrix_discord_bridge_displayname_template: "{% raw %}{{or .GlobalName .Username}}{{if .Bot}} (bot){{end}} (Discord){% endraw %}"


# Displayname template for Discord channels (bridged as rooms, or spaces when type=4). # Displayname template for Discord channels (bridged as rooms, or spaces when type=4).
matrix_mautrix_discord_bridge_channel_name_template: "{% raw %}{{if or (eq .Type 3) (eq .Type 4)}}{{.Name}}{{else}}#{{.Name}}{{end}}{% endraw %}" matrix_mautrix_discord_bridge_channel_name_template: "{% raw %}{{if or (eq .Type 3) (eq .Type 4)}}{{.Name}}{{else}}#{{.Name}}{{end}}{% endraw %}"


Cargando…
Cancelar
Guardar