From 48e2feb3773debad372af1cdd7b7fdac4a5a856f Mon Sep 17 00:00:00 2001 From: Lilac-Rose Date: Mon, 17 Nov 2025 22:36:11 +0100 Subject: [PATCH] comment changes / spelling mistakes --- events/botban.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/events/botban.py b/events/botban.py index 2bde77e..481d801 100644 --- a/events/botban.py +++ b/events/botban.py @@ -25,7 +25,8 @@ class AutoBanOnRole(commands.Cog): try: await guild.ban( after, - reason="Bot automatically banned due to receiving trap role." + reason="Bot automatically banned due to receiving trap role.", + delete_message_days=7 ) except Exception as e: print(f"Failed to ban {after}: {e}")