From 5027bc57a56f6e1486ff6e607d250e8351268552 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Tue, 12 Oct 2021 10:18:05 +0800 Subject: [PATCH] update --- core/test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/test.go b/core/test.go index 78c1260..6ab1aae 100644 --- a/core/test.go +++ b/core/test.go @@ -307,6 +307,9 @@ Alias=sillyGirl.service` ss := strings.Split(data, "\n") return ss[len(ss)-1] } + if strings.Contains(data, "你赢了") { + stop = true + } return data }, `[\s\S]*`, time.Duration(time.Second*300)) if stop == true {