Skip to content

Commit

Permalink
fix : typo
Browse files Browse the repository at this point in the history
  • Loading branch information
seipan committed Jul 3, 2023
1 parent 4f0713a commit 3869453
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func (l *Logger) Log(level Level, user string, args ...interface{}) {
webhook = l.Webhook()
}

// send log to discord
// send log to discord or slack
dis := discord.SetWebhookStruct(l.Name, l.Img)
dis = discord.SetWebfookMessage(dis, message, user, level.String())
err := discord.SendLogToDiscord(webhook, dis)
Expand All @@ -271,7 +271,7 @@ func (l *Logger) Logf(level Level, user string, format string, args ...interface
webhook = l.Webhook()
}

// send log to discord
// send log to discord or slack
dis := discord.SetWebhookStruct(l.Name, l.Img)
dis = discord.SetWebfookMessage(dis, message, user, level.String())
discord.SendLogToDiscord(webhook, dis)
Expand Down

0 comments on commit 3869453

Please sign in to comment.