summaryrefslogtreecommitdiffstats
path: root/bridge/discord/discord.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/discord/discord.go')
-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 bb3fcb82..cd06eeaf 100644
--- a/bridge/discord/discord.go
+++ b/bridge/discord/discord.go
@@ -137,6 +137,10 @@ func (b *Bdiscord) Send(msg config.Message) (string, error) {
msg.Text += " " + fi.URL
}
}
+ // skip empty messages
+ if msg.Text == "" {
+ return "", nil
+ }
err := b.c.WebhookExecute(
wID,
wToken,