diff --git a/changelog.md b/changelog.md index 9f1fbcfa..9d6dbeb7 100644 --- a/changelog.md +++ b/changelog.md @@ -60,6 +60,7 @@ Changes since 2026.06.04 ### Moderator - Adds autocomplete for /unwarn command +- Bans from max warnings will now show a ban in the text output ### Modmail - Full migration to application commands diff --git a/modules/moderation/moderator.py b/modules/moderation/moderator.py index 52ee30e2..f0e90df2 100644 --- a/modules/moderation/moderator.py +++ b/modules/moderation/moderator.py @@ -534,9 +534,12 @@ async def handle_warn_user( target=target, ) + response_action = "warn" + if should_ban: + response_action = response_action + " + ban" embed = generate_response_embed( user=target, - action="warn", + action=response_action, reason=f"{reason} ({new_count_of_warnings} total warnings)", ) if interaction.response.is_done():