feat: 更新简报命令处理逻辑,支持以“简报”开头的消息
This commit is contained in:
parent
be1805566b
commit
61909c21a4
@ -113,7 +113,10 @@ const manageCMDMsg = async (ctx: Context) => {
|
||||
return
|
||||
}
|
||||
// 简报
|
||||
if (msgText.includes("share") && msgText.includes("简报")) {
|
||||
if (
|
||||
msgText.startsWith("简报") ||
|
||||
(msgText.includes("share") && msgText.includes("简报"))
|
||||
) {
|
||||
logger.info(`bot command is share report, chatId: ${chatId}`)
|
||||
// 这个用时比较久,先发一条提醒用户收到了请求
|
||||
// TODO: 迁移到简报服务中
|
||||
|
Loading…
x
Reference in New Issue
Block a user