mirror of
https://github.com/mautrix/discord.git
synced 2026-07-07 06:43:18 -04:00
38 lines
1.7 KiB
YAML
38 lines
1.7 KiB
YAML
# Configuration options related to Discord guilds (also known as "servers").
|
|
guilds:
|
|
# UNSTABLE: The IDs of the guilds to bridge. This is a stopgap measure
|
|
# during bridge development. If no guild IDs are specified, then no guilds
|
|
# are bridged at all.
|
|
bridging_guild_ids: []
|
|
|
|
# Should guild channel portals take on the guild icon as their avatars?
|
|
guild_avatars_in_rooms: false
|
|
|
|
# Should the bridge refuse to send direct messages to recipients the user isn't
|
|
# friends with on Discord? Discord generally considers this to be a "risky"
|
|
# action.
|
|
forbid_dming_strangers: true
|
|
|
|
# Template for Matrix room names created for Discord channels, except for 1:1
|
|
# DMs. 1:1 DMs intentionally do not use this template as their room metadata is
|
|
# derived from the other user's ghost (when private_chat_portal_meta is enabled).
|
|
#
|
|
# Available variables:
|
|
# .Name - The Discord channel name.
|
|
# .ParentName - The parent channel/category name, if any.
|
|
# .GuildName - The guild name for guild channels.
|
|
# .Type - The raw Discord channel type.
|
|
# .NSFW - Whether the channel is marked NSFW.
|
|
# .IsDM - Whether the channel is a 1:1 DM.
|
|
# .IsGroupDM - Whether the channel is a group DM.
|
|
# .IsCategory - Whether the channel is a guild category.
|
|
# .IsGuildChannel - Whether the channel belongs to a guild.
|
|
channel_name_template: "{{if and .IsGuildChannel (not .IsCategory)}}#{{end}}{{.Name}}"
|
|
|
|
# Should incoming custom emoji reactions be bridged as mxc:// URIs?
|
|
# If false, they are bridged as :shortcode: instead.
|
|
custom_emoji_reactions: true
|
|
|
|
# Should we log when messages from unbridged guild channels are dropped? This
|
|
# only includes metadata such as channel and message ID.
|
|
log_when_dropping_messages: true
|