From 75f84891a487148db418595651ac7747894e4769 Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Thu, 21 Aug 2025 18:16:15 +0200 Subject: [PATCH] modified: bot.py --- bot.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bot.py b/bot.py index 1cce5c4..af0a9eb 100644 --- a/bot.py +++ b/bot.py @@ -3163,10 +3163,6 @@ async def warn(ctx, user: discord.User, reason: str = "No reason provided", mess if len(attachments) > 3: message_info += f" +{len(attachments) - 3} more" - # Add context info - if len(context_msgs) > 1: - message_info += f"\n**Context:** {len(context_msgs)} messages archived (±{parsed_context_range})" - embed.add_field(name="📄 Referenced Message", value=message_info, inline=False) else: # Handle old format for backward compatibility @@ -4043,10 +4039,6 @@ async def mute(ctx, user: discord.User, duration: str, reason: str = "No reason content_preview = main_msg['content'][:200] + "..." if len(main_msg['content']) > 200 else main_msg['content'] message_info += f"**Content:** {content_preview}" - # Add context info - if len(context_msgs) > 1: - message_info += f"\n**Context:** {len(context_msgs)} messages archived (±{parsed_context_range})" - embed.add_field(name="📄 Referenced Message", value=message_info, inline=False) # Process attachments for archival if any