aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/moderation/infraction/infractions.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/moderation/infraction/infractions.py')
-rw-r--r--bot/exts/moderation/infraction/infractions.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bot/exts/moderation/infraction/infractions.py b/bot/exts/moderation/infraction/infractions.py
index d8c997755..4ec9e41c7 100644
--- a/bot/exts/moderation/infraction/infractions.py
+++ b/bot/exts/moderation/infraction/infractions.py
@@ -445,9 +445,6 @@ class Infractions(InfractionScheduler, commands.Cog):
await user.edit(timed_out_until=duration_or_expiry, reason=reason)
- log.trace(f"Attempting to kick {user} from voice because they've been timed out.")
- await user.move_to(None, reason=reason)
-
await self.apply_infraction(ctx, infraction, user, action)
@respect_role_hierarchy(member_arg=2)