diff options
author | Wim <wim@42.be> | 2016-11-05 01:11:28 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2016-11-05 01:11:51 +0100 |
commit | 2dbe0eb55729620ffdfdb7e4f10003564d79c7e1 (patch) | |
tree | 65e5309a42c1cee478b5b0c8448c36d819c9d41a /matterbridge.toml.sample | |
parent | 50a0df427927b60724d8e6e00ba06822e0aa7308 (diff) | |
download | matterbridge-msglm-2dbe0eb55729620ffdfdb7e4f10003564d79c7e1.tar.gz matterbridge-msglm-2dbe0eb55729620ffdfdb7e4f10003564d79c7e1.tar.bz2 matterbridge-msglm-2dbe0eb55729620ffdfdb7e4f10003564d79c7e1.zip |
Add support for dynamic IconURL (slack). Closes #43
Diffstat (limited to 'matterbridge.toml.sample')
-rw-r--r-- | matterbridge.toml.sample | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample index f01a3b48..ed26ba9a 100644 --- a/matterbridge.toml.sample +++ b/matterbridge.toml.sample @@ -41,7 +41,7 @@ NickServPassword="secret" #The string "{NICK}" (case sensitive) will be replaced by the actual nick / username. #The string "{BRIDGE}" (case sensitive) will be replaced by the sending bridge #The string "{PROTOCOL}" (case sensitive) will be replaced by the protocol used by the bridge -#OPTIONAL (default {BRIDGE}-{NICK}) +#OPTIONAL (default empty) RemoteNickFormat="[{PROTOCOL}] <{NICK}> " #Nicks you want to ignore. @@ -166,7 +166,7 @@ PrefixMessagesWithNick=false #The string "{NICK}" (case sensitive) will be replaced by the actual nick / username. #The string "{BRIDGE}" (case sensitive) will be replaced by the sending bridge #The string "{PROTOCOL}" (case sensitive) will be replaced by the protocol used by the bridge -#OPTIONAL (default {BRIDGE}-{NICK}) +#OPTIONAL (default empty) RemoteNickFormat="[{PROTOCOL}] <{NICK}> " #how to format the list of IRC nicks when displayed in mattermost. @@ -205,7 +205,7 @@ IgnoreNicks="spammer1 spammer2" #The string "{NICK}" (case sensitive) will be replaced by the actual nick / username. #The string "{BRIDGE}" (case sensitive) will be replaced by the sending bridge #The string "{PROTOCOL}" (case sensitive) will be replaced by the protocol used by the bridge -#OPTIONAL (default {BRIDGE}-{NICK}) +#OPTIONAL (default empty) RemoteNickFormat="[{PROTOCOL}] <{NICK}> " ################################################################### @@ -232,10 +232,6 @@ URL="https://hooks.slack.com/services/yourhook" #REQUIRED (unless useAPI=true) BindAddress="0.0.0.0:9999" -#Icon that will be showed in slack -#OPTIONAL -IconURL="http://youricon.png" - #### Settings for using slack API #OPTIONAL useAPI=false @@ -246,7 +242,14 @@ Token="yourslacktoken" #### Shared settings for webhooks and API -#Whether to prefix messages from other bridges to mattermost with the sender's nick. +#Icon that will be showed in slack +#The string "{NICK}" (case sensitive) will be replaced by the actual nick / username. +#The string "{BRIDGE}" (case sensitive) will be replaced by the sending bridge +#The string "{PROTOCOL}" (case sensitive) will be replaced by the protocol used by the bridge +#OPTIONAL +IconURL="https://robohash.org/{NICK}.png?size=48x48" + +#Whether to prefix messages from other bridges to mattermost with RemoteNickFormat #Useful if username overrides for incoming webhooks isn't enabled on the #slack server. If you set PrefixMessagesWithNick to true, each message #from bridge to Slack will by default be prefixed by "bridge-" + nick. You can, @@ -257,8 +260,8 @@ PrefixMessagesWithNick=false #RemoteNickFormat defines how remote users appear on this bridge #The string "{NICK}" (case sensitive) will be replaced by the actual nick / username. #The string "{BRIDGE}" (case sensitive) will be replaced by the sending bridge -#OPTIONAL (default {BRIDGE}-{NICK}) #The string "{PROTOCOL}" (case sensitive) will be replaced by the protocol used by the bridge +#OPTIONAL (default empty) RemoteNickFormat="[{PROTOCOL}] <{NICK}> " #how to format the list of IRC nicks when displayed in slack @@ -300,7 +303,7 @@ IgnoreNicks="spammer1 spammer2" #The string "{NICK}" (case sensitive) will be replaced by the actual nick / username. #The string "{BRIDGE}" (case sensitive) will be replaced by the sending bridge #The string "{PROTOCOL}" (case sensitive) will be replaced by the protocol used by the bridge -#OPTIONAL (default {BRIDGE}-{NICK}) +#OPTIONAL (default empty) RemoteNickFormat="[{PROTOCOL}] <{NICK}> " |