fix(discord): remove redundant /ask slash command

/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.
This commit is contained in:
Test 2026-03-17 16:25:09 -07:00
parent 72bfa115a0
commit 1bee519a6f

View file

@ -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~")