From 1bee519a6f1989cf7bb0635c1325a5c1b68ec395 Mon Sep 17 00:00:00 2001 From: Test Date: Tue, 17 Mar 2026 16:25:09 -0700 Subject: [PATCH] fix(discord): remove redundant /ask slash command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /ask was just 'send a message to the bot' via the slash command menu — completely redundant since Discord bots already listen to channel messages. Removed as part of salvaging PR #1827. --- gateway/platforms/discord.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gateway/platforms/discord.py b/gateway/platforms/discord.py index d7a9965b..af36d568 100644 --- a/gateway/platforms/discord.py +++ b/gateway/platforms/discord.py @@ -1383,13 +1383,6 @@ class DiscordAdapter(BasePlatformAdapter): tree = self._client.tree - @tree.command(name="ask", description="Ask Hermes a question") - @discord.app_commands.describe(question="Your question for Hermes") - async def slash_ask(interaction: discord.Interaction, question: str): - await interaction.response.defer() - event = self._build_slash_event(interaction, question) - await self.handle_message(event) - @tree.command(name="new", description="Start a new conversation") async def slash_new(interaction: discord.Interaction): await self._run_simple_slash(interaction, "/reset", "New conversation started~")