diff options
Diffstat (limited to 'bridge/discord')
-rw-r--r-- | bridge/discord/webhook.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bridge/discord/webhook.go b/bridge/discord/webhook.go index 7b136bcb..3afb942d 100644 --- a/bridge/discord/webhook.go +++ b/bridge/discord/webhook.go @@ -82,10 +82,8 @@ func (b *Bdiscord) webhookSend(msg *config.Message, channelID string) (*discordg ContentType: "", Reader: bytes.NewReader(*fi.Data), } - content := "" - if msg.Text == "" { - content = fi.Comment - } + content := fi.Comment + _, e2 := b.transmitter.Send( channelID, &discordgo.WebhookParams{ |