From 7d17792ef673693d562beb358bdeaa65e6e96a25 Mon Sep 17 00:00:00 2001 From: Zenith Date: Mon, 24 Nov 2025 14:33:52 -0500 Subject: [PATCH] fix: don't say "permanently" when a user is kicked. --- bot/exts/moderation/infraction/_scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/exts/moderation/infraction/_scheduler.py b/bot/exts/moderation/infraction/_scheduler.py index 8e6d49feac..580527c9fc 100644 --- a/bot/exts/moderation/infraction/_scheduler.py +++ b/bot/exts/moderation/infraction/_scheduler.py @@ -219,8 +219,8 @@ async def apply_infraction( # Default values for the confirmation message and mod log. confirm_msg = ":ok_hand: applied" - # Specifying an expiry for a note or warning makes no sense. - if infr_type in ("note", "warning"): + # Specifying an expiry for a kick, note, or warning makes no sense. + if infr_type in ("kick", "note", "warning"): expiry_msg = "" else: expiry_msg = f" until {expiry}" if expiry else " permanently"