feat: 更新命令处理逻辑,支持以“share”开头的消息
This commit is contained in:
parent
61909c21a4
commit
2deb583dc3
@ -115,6 +115,7 @@ const manageCMDMsg = async (ctx: Context) => {
|
||||
// 简报
|
||||
if (
|
||||
msgText.startsWith("简报") ||
|
||||
msgText.startsWith("share") ||
|
||||
(msgText.includes("share") && msgText.includes("简报"))
|
||||
) {
|
||||
logger.info(`bot command is share report, chatId: ${chatId}`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user