From 0a17e2111921ad45251b72864cc713a120658849 Mon Sep 17 00:00:00 2001 From: Qais Patankar Date: Mon, 30 Nov 2020 05:57:16 +0000 Subject: Remove WebhookURL support (discord) --- bridge/discord/transmitter/transmitter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/discord/transmitter') diff --git a/bridge/discord/transmitter/transmitter.go b/bridge/discord/transmitter/transmitter.go index 41ed055b..e6d52a98 100644 --- a/bridge/discord/transmitter/transmitter.go +++ b/bridge/discord/transmitter/transmitter.go @@ -111,7 +111,7 @@ func (t *Transmitter) HasWebhook(id string) bool { } // AddWebhook allows you to register a channel's webhook with the transmitter. -func (t *Transmitter) AddWebhook(channelID string, webhook *discordgo.Webhook) (replaced bool) { +func (t *Transmitter) AddWebhook(channelID string, webhook *discordgo.Webhook) bool { t.Log.Debugf("Manually added webhook %#v to channel %#v", webhook.ID, channelID) t.mutex.Lock() defer t.mutex.Unlock() -- cgit v1.2.3