Skip to content

Commit

Permalink
ids: Fix wrong error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Brawl345 committed Dec 13, 2023
1 parent 67dbbf8 commit 156a03a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/ids/ids.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (p *Plugin) onIds(c plugin.GobotContext) error {
log.Err(err).
Str("guid", guid).
Int64("chat_id", c.Chat().ID).
Msg("Failed to enable plugin")
Msg("Failed to get all users in chat")
return c.Reply(fmt.Sprintf("❌ Es ist ein Fehler aufgetreten.%s", utils.EmbedGUID(guid)), utils.DefaultSendOptions)
}

Expand All @@ -72,7 +72,7 @@ func (p *Plugin) onIds(c plugin.GobotContext) error {
log.Err(err).
Str("guid", guid).
Int64("chat_id", c.Chat().ID).
Msg("Failed to enable plugin")
Msg("Failed to count members in chat")
return c.Reply(fmt.Sprintf("❌ Es ist ein Fehler aufgetreten.%s", utils.EmbedGUID(guid)), utils.DefaultSendOptions)
}

Expand All @@ -82,7 +82,7 @@ func (p *Plugin) onIds(c plugin.GobotContext) error {
log.Err(err).
Str("guid", guid).
Int64("chat_id", c.Chat().ID).
Msg("Failed to enable plugin")
Msg("Failed to get admins and creators in chat")
return c.Reply(fmt.Sprintf("❌ Es ist ein Fehler aufgetreten.%s", utils.EmbedGUID(guid)), utils.DefaultSendOptions)
}

Expand Down

0 comments on commit 156a03a

Please sign in to comment.