Fix 'webook' typo in discord/webhook.go (#1344)

This commit is contained in:
Qais Patankar 2020-12-31 15:51:49 +00:00 committed by GitHub
parent 4f20ebead3
commit b89102c5fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,7 @@ func (b *Bdiscord) handleEventWebhook(msg *config.Message, channelID string) (st
b.Log.Debugf("Processing webhook sending for message %#v", msg) b.Log.Debugf("Processing webhook sending for message %#v", msg)
discordMsg, err := b.webhookSend(msg, channelID) discordMsg, err := b.webhookSend(msg, channelID)
if err != nil { if err != nil {
b.Log.Errorf("Could not broadcast via webook for message %#v: %s", msg, err) b.Log.Errorf("Could not broadcast via webhook for message %#v: %s", msg, err)
return "", err return "", err
} }
if discordMsg == nil { if discordMsg == nil {