···11[general]
22jid = "discord.example.com" # JID of the server component
33-jabber_nick = "Bot" # Nick of the bridge bot in the MUC
44-secret = "" # Component secret
55-server = "example.com" # Address of the actual XMPP server
66-port = "5347" # Component port
77-discord_token = "" # Token of your Discord bot
33+jabber_nick = "Bot" # Nick of the bridge bot in the MUC
44+secret = "" # Component secret
55+secret_file = "" # Optional: Read the secret from a file
66+server = "example.com" # Address of the actual XMPP server
77+port = "5347" # Component port
88+discord_token = "" # Token of your Discord bot
99+discord_token_file = "" # Optional: Read the token from a file
810911# If a message is reacted to, send the following to the MUC:
1012# > [Message content]
···3638# Secret for the proxy. Only used when the proxy is used.
3739hmac_secret = ""
38404141+# Optional: Read the hmac_secret from a file
4242+hmac_secret_file = ""
4343+3944# Set to false to prevent the Discord channel description from being mirrored to the MUC ubject.
4045mirror_subject = true
4146···5358[discord]
5459# There can be multiple [[discord.channels]] sections to bridge multiple MUCs and channels together.
5560[[discord.channels]]
5656-# The ID of the guild
5761guild = 000000000
58625959-# The ID of the channel to mirror
6063channel = 000000000
61646565+# The ID of the guild
6666+# The ID of the channel to mirror
6267# The MUC to mirror into
6368muc = "channel@muc.example.com"