commit d37c5248d96c480a6e476ec8c396f55aeab435f0
Author: Wim <wim@42.be>
Date: Fri May 24 00:31:18 2024 +0000
diff --git a/bridge/discord/webhook.go b/bridge/discord/webhook.go
index 74a272b..ef129d4 100644
--- a/bridge/discord/webhook.go
+++ b/bridge/discord/webhook.go
@@ -17010 +17010 @@ func (b *Bdiscord) handleEventWebhook(msg *config.Message, channelID string) (st
b.Log.Debugf("Processing webhook sending for message %#v", msg)
msg.Text = b.replaceUserMentions(msg.Text)
- msgId, err := b.webhookSend(msg, channelID)
+ msgID, err := b.webhookSend(msg, channelID)
if err != nil {
- b.Log.Errorf("Could not broadcast via webhook for message %#v: %s", msgId, err)
+ b.Log.Errorf("Could not broadcast via webhook for message %#v: %s", msgID, err)
return "", err
}
- return msgId, nil
+ return msgID, nil
}