feat: 只要和michat说话就回复help
All checks were successful
Egg Server CI/CD / build-image (push) Successful in 45s
Egg Server CI/CD / refresh-image (push) Successful in 13s
Egg Server CI/CD / fast-deploy (push) Successful in 3s

This commit is contained in:
zhaoyingbo 2024-10-23 09:52:52 +00:00
parent 1153183869
commit bd67a36c17

View File

@ -135,11 +135,8 @@ const manageCMDMsg = (ctx: Context.Data) => {
// michat专属功能 // michat专属功能
if (app === "michat") { if (app === "michat") {
// 帮助 // 帮助
if (msgText.trim() === "/help") { logger.info(`bot command is /help, chatId: ${chatId}`)
logger.info(`bot command is /help, chatId: ${chatId}`) manageHelpMsg(ctx, "miChatGuide")
manageHelpMsg(ctx, "miChatGuide")
return
}
} }
// 小煎蛋专属功能 // 小煎蛋专属功能