Add webhook posting mode for discord. (#204)

Using it implies to configure a Webhook on discord and set the parameter :
- WebhookURL (New parameter, discord-specific)

Discord API does not allow to change the name of the user posting, but webhooks does.
This makes the relay much more elegant, even if we might lose some more advanced features.

Signed-off-by: saury07 <sacha.aury@gmail.com>
This commit is contained in:
Sacha Aury - Wolfman
2017-06-26 20:07:27 +02:00
committed by Wim
parent 1b837b3dc7
commit c17512b7ab
3 changed files with 32 additions and 1 deletions

View File

@@ -454,6 +454,10 @@ Server="yourservername"
#OPTIONAL (default false)
ShowEmbeds=false
#Specify WebhookURL. If given, will relay messages using the Webhook, which gives a better look to messages.
#OPTIONAL (default empty)
WebhookURL="Yourwebhooktokenhere"
#Disable sending of edits to other bridges
#OPTIONAL (default false)
EditDisable=false