summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorWim <wim@42.be>2015-12-19 16:55:49 +0100
committerWim <wim@42.be>2015-12-19 16:55:49 +0100
commit9f07a2cfd5d76e2acbd984e351097559279443b8 (patch)
treed9d991e15d3e433f47b5cf5fc8444c1d9f0fc08b /README.md
parent0dc5e042d2aafd4f9e06422c959898ed7dbb08c8 (diff)
downloadmatterbridge-msglm-9f07a2cfd5d76e2acbd984e351097559279443b8.tar.gz
matterbridge-msglm-9f07a2cfd5d76e2acbd984e351097559279443b8.tar.bz2
matterbridge-msglm-9f07a2cfd5d76e2acbd984e351097559279443b8.zip
Add support for multiple channels
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 18 insertions, 2 deletions
diff --git a/README.md b/README.md
index e7246f8a..63960967 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,12 @@ matterbridge
## running
1) Copy the matterbridge.conf.sample to matterbridge.conf in the same directory as the matterbridge binary.
2) Edit matterbridge.conf with the settings for your environment. See below for more config information.
-3) Now you can run matterbridge.
+3) Now you can run matterbridge.
+
+```
+Usage of matterbridge:
+ -conf="matterbridge.conf": config file
+```
Matterbridge will:
* start a webserver listening on the port specified in the configuration.
@@ -35,7 +40,7 @@ Matterbridge will:
## config
### matterbridge
-matterbridge looks for matterbridge.conf in current directory.
+matterbridge looks for matterbridge.conf in current directory. (use -conf to specify another file)
Look at matterbridge.conf.sample for an example
@@ -58,10 +63,21 @@ port=9999
BindAddress="0.0.0.0"
showjoinpart=true #show irc users joining and parting
#the token you get from the outgoing webhook in mattermost. If empty no token check will be done.
+#if you use multiple IRC channel (see below, this must be empty!)
token=yourtokenfrommattermost
#disable certificate checking (selfsigned certificates)
#SkipTLSVerify=true
+#multiple channel config
+#token you can find in your outgoing webhook
+[Token "outgoingwebhooktoken1"]
+IRCChannel="#off-topic"
+MMChannel="off-topic"
+
+[Token "outgoingwebhooktoken2"]
+IRCChannel="#testing"
+MMChannel="testing"
+
[general]
#request your API key on https://github.com/giphy/GiphyAPI. This is a public beta key
GiphyApiKey="dc6zaTOxFJmzC"