mirror of
https://github.com/42wim/matterbridge.git
synced 2025-06-23 07:07:31 +02:00
Sync from matterbridge.sample.toml
parent
e9eae6328a
commit
ddf60fa38e
@ -20,47 +20,59 @@ RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
|
|||||||
```toml
|
```toml
|
||||||
[discord]
|
[discord]
|
||||||
|
|
||||||
|
# You can configure multiple servers "[discord.name]" or "[discord.name2]"
|
||||||
|
# In this example we use [discord.game]
|
||||||
|
#REQUIRED
|
||||||
[discord.game]
|
[discord.game]
|
||||||
# Token (REQUIRED) is the token to connect with Discord API
|
# Token (REQUIRED) is the token to connect with Discord API
|
||||||
# You can get your token by following the instructions on
|
# You can get your token by following the instructions on
|
||||||
# https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token
|
# https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token
|
||||||
# If you want roles/groups mentions to be shown with names instead of ID, you'll need to give your bot the "Manage Roles" permission.
|
# If you want roles/groups mentions to be shown with names instead of ID, you'll need to give your bot the "Manage Roles" permission.
|
||||||
Token="Yourtokenhere"
|
Token="Yourtokenhere"
|
||||||
|
|
||||||
# Server is the ID or name of the guild to connect to, selected from the guilds the bot has been invited to
|
# Server (REQUIRED) is the ID or name of the guild to connect to, selected from the guilds the bot has been invited to
|
||||||
Server="yourservername"
|
Server="yourservername"
|
||||||
|
|
||||||
## RELOADABLE SETTINGS
|
## RELOADABLE SETTINGS
|
||||||
## Settings below can be reloaded by editing the file
|
## All settings below can be reloaded by editing the file.
|
||||||
|
## They are also all optional.
|
||||||
|
|
||||||
# ShowEmbeds shows the title, description and URL of embedded messages (sent by other bots)
|
# ShowEmbeds shows the title, description and URL of embedded messages (sent by other bots)
|
||||||
ShowEmbeds=false
|
ShowEmbeds=false
|
||||||
|
|
||||||
|
# UseLocalAvatar specifies source bridges for which an avatar should be 'guessed' when an incoming message has no avatar.
|
||||||
|
# This works by comparing the username of the message to an existing Discord user, and using the avatar of the Discord user.
|
||||||
|
#
|
||||||
|
# This only works if WebhookURL is set (AND the message has no avatar).
|
||||||
|
# Example: ["irc"]
|
||||||
|
UseLocalAvatar=[]
|
||||||
|
|
||||||
# UseUserName shows the username instead of the server nickname
|
# UseUserName shows the username instead of the server nickname
|
||||||
UseUserName=false
|
UseUserName=false
|
||||||
|
|
||||||
# UseDiscriminator appends the `#xxxx` discriminator when used with UseUserName
|
# UseDiscriminator appends the `#xxxx` discriminator when used with UseUserName
|
||||||
UseDiscriminator=false
|
UseDiscriminator=false
|
||||||
|
|
||||||
# WebhookURL, if specified, will send messages in the style of puppets.
|
# AutoWebhooks automatically configures message sending in the style of puppets.
|
||||||
# This only works if you have one discord channel, if you have multiple discord channels you'll have to specify it in the gateway config
|
# This is an easier alternative to manually configuring "WebhookURL" for each gateway,
|
||||||
# Example: "https://discordapp.com/api/webhooks/1234/abcd_xyzw"
|
# as turning this on will automatically load or create webhooks for each channel.
|
||||||
WebhookURL=""
|
# This feature requires the "Manage Webhooks" permission (either globally or as per-channel).
|
||||||
|
AutoWebhooks=false
|
||||||
|
|
||||||
# EditDisable allows you to disable sending of edits to other bridges
|
# EditDisable disables sending of edits to other bridges
|
||||||
EditDisable=false
|
EditDisable=false
|
||||||
|
|
||||||
# EditSuffix specifies the message to be appended to every edited message
|
# EditSuffix specifies the message to be appended to every edited message
|
||||||
# Example: " (edited)"
|
# Example: " (edited)"
|
||||||
EditSuffix=""
|
EditSuffix=""
|
||||||
|
|
||||||
# IgnoreNicks allows you to mute outgoing messages from certain users.
|
# IgnoreNicks mutes outgoing messages from certain users.
|
||||||
# Messages from these users will not be transmitted to other bridges.
|
# Messages from these users will not be transmitted to other bridges.
|
||||||
# Regular expressions are also supported.
|
# Regular expressions are also supported.
|
||||||
# Example: "ircspammer1 ircspammer2"
|
# Example: "ircspammer1 ircspammer2"
|
||||||
IgnoreNicks=""
|
IgnoreNicks=""
|
||||||
|
|
||||||
# IgnoreMessages allows you to mute outgoing messages of a certain format.
|
# IgnoreMessages mutes outgoing messages of a certain format.
|
||||||
# Messages matching this regular expression will not be transmitted sent to other bridges
|
# Messages matching this regular expression will not be transmitted sent to other bridges
|
||||||
# See https://regex-golang.appspot.com/assets/html/index.html for more regex info
|
# See https://regex-golang.appspot.com/assets/html/index.html for more regex info
|
||||||
#
|
#
|
||||||
@ -107,26 +119,26 @@ ReplaceNicks=[]
|
|||||||
#
|
#
|
||||||
ExtractNicks=[]
|
ExtractNicks=[]
|
||||||
|
|
||||||
# Label can be used as an extra identifier for use in the RemoteNickFormat setting.
|
# Label is as an extra identifier for use in the RemoteNickFormat setting.
|
||||||
Label=""
|
Label=""
|
||||||
|
|
||||||
# RemoteNickFormat specifies how remote users appear on this bridge.
|
# RemoteNickFormat formats how remote users appear on this bridge.
|
||||||
# See the [general] config section for default options
|
# See the [general] config section for default options
|
||||||
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
|
RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
|
||||||
|
|
||||||
# ShowJoinPart will emit messages that show joins/parts from other bridges
|
# ShowJoinPart emits messages that show joins/parts from other bridges
|
||||||
# Supported from the following bridges: irc, mattermost, slack, discord
|
# Supported from the following bridges: irc, mattermost, slack, discord
|
||||||
ShowJoinPart=false
|
ShowJoinPart=false
|
||||||
|
|
||||||
# StripNick will strip non-alphanumeric characters from nicknames.
|
# StripNick strips non-alphanumeric characters from nicknames.
|
||||||
# Recommended reading: https://github.com/42wim/matterbridge/issues/285
|
# Recommended reading: https://github.com/42wim/matterbridge/issues/285
|
||||||
StripNick=false
|
StripNick=false
|
||||||
|
|
||||||
# ShowTopicChange will emit messages that show topic/purpose updates from other bridges
|
# ShowTopicChange emits messages that show topic/purpose updates from other bridges
|
||||||
# Supported from the following bridges: slack
|
# Supported from the following bridges: slack
|
||||||
ShowTopicChange=false
|
ShowTopicChange=false
|
||||||
|
|
||||||
# SyncTopic will sync topic/purpose updates from other bridges
|
# SyncTopic synchronises topic/purpose updates from other bridges
|
||||||
# Supported from the following bridges: slack
|
# Supported from the following bridges: slack
|
||||||
SyncTopic=false
|
SyncTopic=false
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user