summaryrefslogtreecommitdiffstats
path: root/bridge/discord
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/discord')
-rw-r--r--bridge/discord/discord.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go
index f4fc8e27..eb74dd85 100644
--- a/bridge/discord/discord.go
+++ b/bridge/discord/discord.go
@@ -128,6 +128,10 @@ func (b *bdiscord) Send(msg config.Message) (string, error) {
// Use webhook to send the message
if wID != "" {
+ // skip events
+ if msg.Event != "" {
+ return "", nil
+ }
flog.Debugf("Broadcasting using Webhook")
err := b.c.WebhookExecute(
wID,