소스 검색

Add (Discord) to discord displaynames

pull/4647/head
Benjamin Blacher 4 달 전
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 %}" 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 %}"


불러오는 중...
취소
저장