|
|
|
@ -1,5 +1,7 @@
|
|
|
|
|
#This is configuration for matterbridge.
|
|
|
|
|
#WARNING: as this file contains credentials, be sure to set correct file permissions
|
|
|
|
|
#See https://github.com/42wim/matterbridge/wiki/How-to-create-your-config for how to create your config
|
|
|
|
|
#See https://github.com/42wim/matterbridge/wiki/Settings for all settings
|
|
|
|
|
###################################################################
|
|
|
|
|
#IRC section
|
|
|
|
|
###################################################################
|
|
|
|
@ -270,98 +272,6 @@ StripNick=false
|
|
|
|
|
#OPTIONAL (default false)
|
|
|
|
|
ShowTopicChange=false
|
|
|
|
|
|
|
|
|
|
###################################################################
|
|
|
|
|
#hipchat section
|
|
|
|
|
###################################################################
|
|
|
|
|
#Go to https://www.hipchat.com/account/xmpp this will show you the necessary data
|
|
|
|
|
#to fill in the section below
|
|
|
|
|
[xmpp.hipchat]
|
|
|
|
|
#xmpp server to connect to.
|
|
|
|
|
#REQUIRED
|
|
|
|
|
Server="chat.hipchat.com:5222"
|
|
|
|
|
|
|
|
|
|
#Jabber ID
|
|
|
|
|
#REQUIRED
|
|
|
|
|
Jid="12345_12345@chat.hipchat.com"
|
|
|
|
|
|
|
|
|
|
#Password (your hipchat password)
|
|
|
|
|
#REQUIRED
|
|
|
|
|
Password="yourpass"
|
|
|
|
|
|
|
|
|
|
#Conference (MUC) domain
|
|
|
|
|
#REQUIRED
|
|
|
|
|
Muc="conf.hipchat.com"
|
|
|
|
|
|
|
|
|
|
#Room nickname
|
|
|
|
|
#REQUIRED
|
|
|
|
|
Nick="yourlogin"
|
|
|
|
|
|
|
|
|
|
## RELOADABLE SETTINGS
|
|
|
|
|
## Settings below can be reloaded by editing the file
|
|
|
|
|
|
|
|
|
|
#Nicks you want to ignore.
|
|
|
|
|
#Regular expressions supported
|
|
|
|
|
#Messages from those users will not be sent to other bridges.
|
|
|
|
|
#OPTIONAL
|
|
|
|
|
IgnoreNicks="spammer1 spammer2"
|
|
|
|
|
|
|
|
|
|
#Messages you want to ignore.
|
|
|
|
|
#Messages matching these regexp will be ignored and not sent to other bridges
|
|
|
|
|
#See https://regex-golang.appspot.com/assets/html/index.html for more regex info
|
|
|
|
|
#OPTIONAL (example below ignores messages starting with ~~ or messages containing badword
|
|
|
|
|
IgnoreMessages="^~~ badword"
|
|
|
|
|
|
|
|
|
|
#messages you want to replace.
|
|
|
|
|
#it replaces outgoing messages from the bridge.
|
|
|
|
|
#so you need to place it by the sending bridge definition.
|
|
|
|
|
#regular expressions supported
|
|
|
|
|
#some examples:
|
|
|
|
|
#this replaces cat => dog and sleep => awake
|
|
|
|
|
#replacemessages=[ ["cat","dog"], ["sleep","awake"] ]
|
|
|
|
|
#this replaces every number with number. 123 => numbernumbernumber
|
|
|
|
|
#replacemessages=[ ["[0-9]","number"] ]
|
|
|
|
|
#optional (default empty)
|
|
|
|
|
ReplaceMessages=[ ["cat","dog"] ]
|
|
|
|
|
|
|
|
|
|
#nicks you want to replace.
|
|
|
|
|
#see replacemessages for syntaxa
|
|
|
|
|
#optional (default empty)
|
|
|
|
|
ReplaceNicks=[ ["user--","user"] ]
|
|
|
|
|
|
|
|
|
|
#Extractnicks is used to for example rewrite messages from other relaybots
|
|
|
|
|
#See https://github.com/42wim/matterbridge/issues/713 and https://github.com/42wim/matterbridge/issues/466
|
|
|
|
|
#some examples:
|
|
|
|
|
#this replaces a message like "Relaybot: <relayeduser> something interesting" to "relayeduser: something interesting"
|
|
|
|
|
#ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ] ]
|
|
|
|
|
#you can use multiple entries for multiplebots
|
|
|
|
|
#this also replaces a message like "otherbot: (relayeduser) something else" to "relayeduser: something else"
|
|
|
|
|
#ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ],[ "otherbot","\\((.*?)\\)\\s+" ]
|
|
|
|
|
#OPTIONAL (default empty)
|
|
|
|
|
ExtractNicks=[ ["otherbot","<(.*?)>\\s+" ] ]
|
|
|
|
|
|
|
|
|
|
#extra label that can be used in the RemoteNickFormat
|
|
|
|
|
#optional (default empty)
|
|
|
|
|
Label=""
|
|
|
|
|
|
|
|
|
|
#RemoteNickFormat defines how remote users appear on this bridge
|
|
|
|
|
#See [general] config section for default options
|
|
|
|
|
RemoteNickFormat="[{PROTOCOL}/{BRIDGE}] <{NICK}> "
|
|
|
|
|
|
|
|
|
|
#Enable to show users joins/parts from other bridges
|
|
|
|
|
#Currently works for messages from the following bridges: irc, mattermost, slack, discord
|
|
|
|
|
#OPTIONAL (default false)
|
|
|
|
|
ShowJoinPart=false
|
|
|
|
|
|
|
|
|
|
#StripNick only allows alphanumerical nicks. See https://github.com/42wim/matterbridge/issues/285
|
|
|
|
|
#It will strip other characters from the nick
|
|
|
|
|
#OPTIONAL (default false)
|
|
|
|
|
StripNick=false
|
|
|
|
|
|
|
|
|
|
#Enable to show topic changes from other bridges
|
|
|
|
|
#Only works hiding/show topic changes from slack bridge for now
|
|
|
|
|
#OPTIONAL (default false)
|
|
|
|
|
ShowTopicChange=false
|
|
|
|
|
|
|
|
|
|
###################################################################
|
|
|
|
|
#mattermost section
|
|
|
|
|
###################################################################
|
|
|
|
|