feat: Add slash command help system (#57) #62

Merged
shoko merged 18 commits from fix/issue-57 into main 2026-04-14 04:03:29 +02:00
Showing only changes of commit 613ec0dc1f - Show all commits

View File

@@ -515,11 +515,11 @@ class ConversationalAgent:
if tool_name == "trending" and not has_args: if tool_name == "trending" and not has_args:
return self._execute_trending() return self._execute_trending()
# Special handling for /backtest - execute directly # Special handling for /backtest - execute directly
if tool_name == "backtest" and not has_args: if tool_name == "backtest":
return self._execute_backtest_direct() return self._execute_backtest_direct(user_message if has_args else "")
# Special handling for /simulate - execute directly # Special handling for /simulate - execute directly
if tool_name == "simulate" and not has_args: if tool_name == "simulate":
return self._execute_simulate_direct() return self._execute_simulate_direct(user_message if has_args else "")
# For commands that need params (/search, /risk, /token, /price) # For commands that need params (/search, /risk, /token, /price)
# execute immediately if args provided, otherwise set pending # execute immediately if args provided, otherwise set pending
if not has_args: if not has_args: