format file

This commit is contained in:
2026-01-04 22:09:37 +00:00
parent f3a9e0e219
commit 60ee0662fe

View File

@@ -97,7 +97,7 @@ app:
# .System - Whether the user is an official system user
# .Webhook - Whether the user is a webhook and is not an application
# .Application - Whether the user is an application
displayname_template: '{{if .Webhook}}Webhook{{else}}{{or .GlobalName .Username}}{{if .Bot}} (bot){{end}}{{end}}'
displayname_template: "{{if .Webhook}}Webhook{{else}}{{or .GlobalName .Username}}{{if .Bot}} (bot){{end}}{{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.
@@ -105,11 +105,11 @@ app:
# .GuildName - Guild name.
# .NSFW - Whether the channel is marked as NSFW.
# .Type - Channel type (see values at https://github.com/bwmarrin/discordgo/blob/v0.25.0/structs.go#L251-L267)
channel_name_template: '{{if or (eq .Type 3) (eq .Type 4)}}{{.Name}}{{else}}#{{.Name}}{{end}}'
channel_name_template: "{{if or (eq .Type 3) (eq .Type 4)}}{{.Name}}{{else}}#{{.Name}}{{end}}"
# Displayname template for Discord guilds (bridged as spaces).
# Available variables:
# .Name - Guild name
guild_name_template: '{{.Name}}'
guild_name_template: "{{.Name}}"
# Whether to explicitly set the avatar and room name for private chat portal rooms.
# If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms.
# If set to `always`, all DM rooms will have explicit names and avatars set.
@@ -228,7 +228,7 @@ app:
example.com: foobar
# The prefix for commands. Only required in non-management rooms.
command_prefix: '!discord'
command_prefix: "!discord"
# Messages sent upon joining a management room.
# Markdown is supported. The defaults are listed below.
management_room_text:
@@ -386,7 +386,6 @@ app:
max_backups: 10
compress: true
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
replicaCount: 1
@@ -530,7 +529,6 @@ volumes:
persistentVolumeClaim:
claimName: discord-mautrix-data
# Additional volumeMounts on the output Deployment definition.
volumeMounts:
- name: config