Skip to content

Commit

Permalink
add removed error log for failed unban
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishjh-bst committed Feb 13, 2025
1 parent b90711b commit 26081fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moderation/plugin_bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ func handleScheduledUnban(evt *seventsmodels.ScheduledEvent, data interface{}) (

_, err = UnbanUser(config, guildID, common.BotUser, scheduledUnbanReason, user)
if err != nil {
logger.WithField("guild", guildID).WithError(err).Error("failed unbanning user")
return scheduledevents2.CheckDiscordErrRetry(err), err
}

Expand Down

0 comments on commit 26081fb

Please sign in to comment.