From 3d5a207b13924b9c044e4d2442dfa0ddd1779857 Mon Sep 17 00:00:00 2001 From: Kingston-SCYD Date: Sun, 16 Aug 2026 23:03:55 -0500 Subject: [PATCH] Fix: remove strict TextChannel check, broaden channel support --- assistant/assistant.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/assistant/assistant.py b/assistant/assistant.py index a80e687..dee2257 100644 --- a/assistant/assistant.py +++ b/assistant/assistant.py @@ -70,12 +70,10 @@ class Assistant(commands.Cog): async def on_message(self, message: discord.Message): if message.author.bot: return - if not isinstance(message.channel, discord.TextChannel): + if not message.guild: return guild = message.guild - if guild is None: - return # Debug: react with 1️⃣ to confirm listener fires if self.bot.user in message.mentions: