diff options
| author | 2020-10-18 09:21:56 +0300 | |
|---|---|---|
| committer | 2020-10-18 09:21:56 +0300 | |
| commit | bdd4cceccb7e0d8cfbe5ec60937c416ce6f0fb0e (patch) | |
| tree | a1447c0eb8720149ec99318a78e6c051643d24f7 | |
| parent | Merge branch 'master' into voice-gate (diff) | |
Remove unnecessary logging about user not found
Co-authored-by: Joe Banks <[email protected]>
| -rw-r--r-- | bot/exts/moderation/infraction/infractions.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/moderation/infraction/infractions.py b/bot/exts/moderation/infraction/infractions.py index 0dab3a72e..93fa16242 100644 --- a/bot/exts/moderation/infraction/infractions.py +++ b/bot/exts/moderation/infraction/infractions.py @@ -443,8 +443,7 @@ class Infractions(InfractionScheduler, commands.Cog): log_text["Member"] = format_user(user) log_text["DM"] = "Sent" if notified else "**Failed**" else: - log.info(f"Failed to remove Voice Ban from user {user_id}: user not found") - log_text["Failure"] = "User was not found in the guild." + log_text["Info"] = "User was not found in the guild." return log_text |