From ba5c50f9c6786fd1b9839c047024737f87d65664 Mon Sep 17 00:00:00 2001 From: Clawdbot Date: Thu, 29 Jan 2026 22:27:39 +0100 Subject: [PATCH] fix: move /stop to first position in bot command menu Makes /stop the first command in the Telegram bot menu for quick access when needing to abort a running task. --- src/auto-reply/commands-registry.data.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/auto-reply/commands-registry.data.ts b/src/auto-reply/commands-registry.data.ts index e0a3198c0..fe163405f 100644 --- a/src/auto-reply/commands-registry.data.ts +++ b/src/auto-reply/commands-registry.data.ts @@ -126,6 +126,13 @@ let cachedNativeRegistry: ReturnType | null = nu function buildChatCommands(): ChatCommandDefinition[] { const commands: ChatCommandDefinition[] = [ + defineChatCommand({ + key: "stop", + nativeName: "stop", + description: "Stop the current run.", + textAlias: "/stop", + category: "session", + }), defineChatCommand({ key: "help", nativeName: "help", @@ -341,13 +348,6 @@ function buildChatCommands(): ChatCommandDefinition[] { ], argsMenu: "auto", }), - defineChatCommand({ - key: "stop", - nativeName: "stop", - description: "Stop the current run.", - textAlias: "/stop", - category: "session", - }), defineChatCommand({ key: "restart", nativeName: "restart",