From 1829dc3d9f65ed04c6d4e4b604a71ca29f8dd911 Mon Sep 17 00:00:00 2001 From: Wim Date: Wed, 1 May 2019 18:10:31 +0200 Subject: Allow messages from other bots (discord). Fixes #816 --- bridge/discord/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge') diff --git a/bridge/discord/handlers.go b/bridge/discord/handlers.go index bc8ec939..85a36e1d 100644 --- a/bridge/discord/handlers.go +++ b/bridge/discord/handlers.go @@ -36,7 +36,7 @@ func (b *Bdiscord) messageCreate(s *discordgo.Session, m *discordgo.MessageCreat return } // if using webhooks, do not relay if it's ours - if b.useWebhook() && m.Author.Bot { // && b.isWebhookID(m.Author.ID) { + if b.useWebhook() && m.Author.Bot && b.isWebhookID(m.Author.ID) { return } -- cgit v1.2.3