浏览代码

Add (Discord) to discord displaynames

pull/4647/head
Benjamin Blacher 10 个月前
committed by Slavi Pantaleev
父节点
当前提交
ec3f25e8ad
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      roles/custom/matrix-bridge-mautrix-discord/defaults/main.yml

+ 1
- 1
roles/custom/matrix-bridge-mautrix-discord/defaults/main.yml 查看文件

@@ -59,7 +59,7 @@ matrix_mautrix_discord_bridge_avatar_proxy_key: ''
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.
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).
matrix_mautrix_discord_bridge_channel_name_template: "{% raw %}{{if or (eq .Type 3) (eq .Type 4)}}{{.Name}}{{else}}#{{.Name}}{{end}}{% endraw %}"


正在加载...
取消
保存