fix go templating

This commit is contained in:
Sebastian Hugentobler 2023-04-06 14:46:10 +02:00
parent 65d81cc3ff
commit b4a41352e1
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -83,7 +83,7 @@ bridge:
# .Discriminator - The 4 numbers after the name on Discord
# .Bot - Whether the user is a bot
# .System - Whether the user is an official system user
displayname_template: '{{"{{"}}.Username{{"}}"}}#{{"{{"}}.Discriminator{{"}}"}}{{"{{"}}if .Bot{{"}}"}} (bot){{"{{"end{{"}}"}}'
displayname_template: '{{"{{"}}.Username{{"}}"}}#{{"{{"}}.Discriminator{{"}}"}}{{"{{"}}if .Bot{{"}}"}} (bot){{"{{"}}end{{"}}"}}'
# Displayname template for Discord channels (bridged as rooms, or spaces when type=4).
# Available variables:
# .Name - Channel name, or user displayname (pre-formatted with displayname_template) in DMs.