From 28710d0bc7d5bd564d702953c490a865b0cc438d Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 12 Aug 2017 14:51:41 +0200 Subject: Allow a webhookurl per channel (discord). #239 --- matterbridge.toml.sample | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'matterbridge.toml.sample') 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" -- cgit v1.2.3