feat: 更新游戏结束逻辑,支持“停止游戏”命令

This commit is contained in:
zhaoyingbo 2025-01-14 09:31:20 +00:00
parent 517287eb52
commit 68151bf1a1

View File

@ -195,7 +195,7 @@ const soupAgent = async (ctx: Context) => {
startOrStopGame(ctx, true) startOrStopGame(ctx, true)
return true return true
} }
if (msgText === "结束游戏") { if (msgText === "结束游戏" || msgText === "停止游戏") {
startOrStopGame(ctx, false) startOrStopGame(ctx, false)
return true return true
} }