Merge branch 'master' into feat/soup

This commit is contained in:
zhaoyingbo 2025-01-14 06:25:27 +00:00
commit 68c00f520c

View File

@ -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: 迁移到简报服务中