summaryrefslogtreecommitdiffstats
path: root/matterbridge.toml.sample
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-08-12 14:51:41 +0200
committerWim <wim@42.be>2017-08-12 14:51:41 +0200
commit28710d0bc7d5bd564d702953c490a865b0cc438d (patch)
treed025fe274779881442a1cf14d62ec2d42671cc3c /matterbridge.toml.sample
parentad4d461606b5fb9b64377c8ef37110ee0b3c721b (diff)
downloadmatterbridge-msglm-28710d0bc7d5bd564d702953c490a865b0cc438d.tar.gz
matterbridge-msglm-28710d0bc7d5bd564d702953c490a865b0cc438d.tar.bz2
matterbridge-msglm-28710d0bc7d5bd564d702953c490a865b0cc438d.zip
Allow a webhookurl per channel (discord). #239
Diffstat (limited to 'matterbridge.toml.sample')
-rw-r--r--matterbridge.toml.sample9
1 files changed, 9 insertions, 0 deletions
diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample
index e31c23e4..9d15efb0 100644
--- a/matterbridge.toml.sample
+++ b/matterbridge.toml.sample
@@ -448,6 +448,7 @@ ShowEmbeds=false
UseUserName=false
#Specify WebhookURL. If given, will relay messages using the Webhook, which gives a better look to messages.
+#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
#OPTIONAL (default empty)
WebhookURL="Yourwebhooktokenhere"
@@ -833,6 +834,14 @@ enable=true
#OPTIONAL - your irc channel key
key="yourkey"
+ [[gateway.inout]]
+ account="discord.game"
+ channel="mygreatgame"
+
+ #OPTIONAL - webhookurl only works for discord (it needs a different URL for each cahnnel)
+ [gateway.inout.options]
+ webhookurl=""https://discordapp.com/api/webhooks/123456789123456789/C9WPqExYWONPDZabcdef-def1434FGFjstasJX9pYht73y"
+
#API example
#[[gateway.inout]]
#account="api.local"