diff options
| author | 2022-08-28 19:15:13 -0300 | |
|---|---|---|
| committer | 2022-08-28 19:15:13 -0300 | |
| commit | 0c64708ed660024f80c7f615ff95421fe353aec5 (patch) | |
| tree | 9e5aa5d5c1b094b8233ff4f99d413c7ab3f9b862 | |
| parent | Merge pull request #2234 from python-discord/infraction-durations (diff) | |
Remove unnecessary loggin
| -rw-r--r-- | bot/exts/moderation/infraction/infractions.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bot/exts/moderation/infraction/infractions.py b/bot/exts/moderation/infraction/infractions.py index 05cc74a03..2a325da77 100644 --- a/bot/exts/moderation/infraction/infractions.py +++ b/bot/exts/moderation/infraction/infractions.py @@ -125,8 +125,6 @@ class Infractions(InfractionScheduler, commands.Cog): infraction = await self.apply_ban(ctx, user, reason, duration_or_expiry=duration) if not infraction or not infraction.get("id"): # Ban was unsuccessful, quit early. - await ctx.send(":x: Failed to apply ban.") - log.error("Failed to apply ban to user %d", user.id) return # Calling commands directly skips discord.py's convertors, so we need to convert args manually. |