diff --git a/routes/bot/eventMsg.ts b/routes/bot/eventMsg.ts index 6008e2c..c176c7b 100644 --- a/routes/bot/eventMsg.ts +++ b/routes/bot/eventMsg.ts @@ -117,7 +117,11 @@ const manageCMDMsg = async (ctx: Context) => { return } // 简报 - if (msgText.includes("share") && msgText.includes("简报")) { + if ( + msgText.startsWith("简报") || + msgText.startsWith("share") || + (msgText.includes("share") && msgText.includes("简报")) + ) { logger.info(`bot command is share report, chatId: ${chatId}`) // 这个用时比较久,先发一条提醒用户收到了请求 // TODO: 迁移到简报服务中