From c17512b7ab759ab0fba0ecc8be20ff829946bb24 Mon Sep 17 00:00:00 2001 From: Sacha Aury - Wolfman Date: Mon, 26 Jun 2017 20:07:27 +0200 Subject: 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 --- bridge/config/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'bridge/config') diff --git a/bridge/config/config.go b/bridge/config/config.go index 246d6b82..6244dd6a 100644 --- a/bridge/config/config.go +++ b/bridge/config/config.go @@ -77,6 +77,7 @@ type Protocol struct { UseSASL bool // IRC UseTLS bool // IRC UseFirstName bool // telegram + WebhookURL string // discord } type ChannelOptions struct { -- cgit v1.2.3