aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/moderation/infractions.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/bot/cogs/moderation/infractions.py b/bot/cogs/moderation/infractions.py
index 2c809535b..d1e77311c 100644
--- a/bot/cogs/moderation/infractions.py
+++ b/bot/cogs/moderation/infractions.py
@@ -226,9 +226,6 @@ class Infractions(InfractionScheduler, commands.Cog):
self.mod_log.ignore(Event.member_remove, user.id)
- if len(reason) > 512:
- log.info("Kick reason is longer than 512 characters. Reason will be truncated for Audit Log.")
-
action = user.kick(reason=textwrap.shorten(reason, width=512, placeholder="..."))
await self.apply_infraction(ctx, infraction, user, action)
@@ -248,9 +245,6 @@ class Infractions(InfractionScheduler, commands.Cog):
self.mod_log.ignore(Event.member_remove, user.id)
- if len(reason) > 512:
- log.info("Ban reason is longer than 512 characters. Reason will be truncated for Audit Log.")
-
action = ctx.guild.ban(
user,
reason=textwrap.shorten(reason, width=512, placeholder=" ..."),