feat: 更新游戏结束逻辑,支持“停止游戏”命令
This commit is contained in:
parent
517287eb52
commit
68151bf1a1
@ -195,7 +195,7 @@ const soupAgent = async (ctx: Context) => {
|
||||
startOrStopGame(ctx, true)
|
||||
return true
|
||||
}
|
||||
if (msgText === "结束游戏") {
|
||||
if (msgText === "结束游戏" || msgText === "停止游戏") {
|
||||
startOrStopGame(ctx, false)
|
||||
return true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user