From 761c8a6737ac61210f0c5dc67f0bfd95074bbd70 Mon Sep 17 00:00:00 2001 From: Javi VC Date: Tue, 27 Jan 2026 21:36:27 +0100 Subject: [PATCH] telegram: move /new command to first position in menu --- src/auto-reply/commands-registry.data.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/auto-reply/commands-registry.data.ts b/src/auto-reply/commands-registry.data.ts index e0a3198c0..fa47dcdd0 100644 --- a/src/auto-reply/commands-registry.data.ts +++ b/src/auto-reply/commands-registry.data.ts @@ -126,6 +126,14 @@ let cachedNativeRegistry: ReturnType | null = nu function buildChatCommands(): ChatCommandDefinition[] { const commands: ChatCommandDefinition[] = [ + defineChatCommand({ + key: "new", + nativeName: "new", + description: "Start a new session.", + textAlias: "/new", + acceptsArgs: true, + category: "session", + }), defineChatCommand({ key: "help", nativeName: "help", @@ -395,14 +403,6 @@ function buildChatCommands(): ChatCommandDefinition[] { acceptsArgs: true, category: "session", }), - defineChatCommand({ - key: "new", - nativeName: "new", - description: "Start a new session.", - textAlias: "/new", - acceptsArgs: true, - category: "session", - }), defineChatCommand({ key: "compact", description: "Compact the session context.",