From 3261cdd21cb9a75cb519f7ef6991e1917ac6298b Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Mon, 23 Feb 2026 13:35:40 -0500 Subject: [PATCH] Fix proactive replies appearing before the triggering message Proactive replies used channel.send() which posted standalone messages with no visual link to what triggered them. Now all replies use message.reply() so the response is always attached to the source message. Co-Authored-By: Claude Opus 4.6 --- cogs/chat.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cogs/chat.py b/cogs/chat.py index 52de8b7..be769af 100644 --- a/cogs/chat.py +++ b/cogs/chat.py @@ -221,10 +221,7 @@ class ChatCog(commands.Cog): except (asyncio.TimeoutError, asyncio.CancelledError): pass - if is_proactive: - await message.channel.send(response) - else: - await message.reply(response, mention_author=False) + await message.reply(response, mention_author=False) reply_type = "proactive" if is_proactive else "chat" logger.info(