From bd67a36c171d9d48c6c551a02577283bc2c4aaaf Mon Sep 17 00:00:00 2001 From: zhaoyingbo Date: Wed, 23 Oct 2024 09:52:52 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=AA=E8=A6=81=E5=92=8Cmichat?= =?UTF-8?q?=E8=AF=B4=E8=AF=9D=E5=B0=B1=E5=9B=9E=E5=A4=8Dhelp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/bot/eventMsg.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/routes/bot/eventMsg.ts b/routes/bot/eventMsg.ts index a8b9f20..7a2ff09 100644 --- a/routes/bot/eventMsg.ts +++ b/routes/bot/eventMsg.ts @@ -135,11 +135,8 @@ const manageCMDMsg = (ctx: Context.Data) => { // michat专属功能 if (app === "michat") { // 帮助 - if (msgText.trim() === "/help") { - logger.info(`bot command is /help, chatId: ${chatId}`) - manageHelpMsg(ctx, "miChatGuide") - return - } + logger.info(`bot command is /help, chatId: ${chatId}`) + manageHelpMsg(ctx, "miChatGuide") } // 小煎蛋专属功能