update
This commit is contained in:
+1
-5
@@ -309,11 +309,7 @@ Alias=sillyGirl.service`
|
|||||||
if strings.Contains(data, "你赢了") {
|
if strings.Contains(data, "你赢了") {
|
||||||
stop = true
|
stop = true
|
||||||
} else {
|
} else {
|
||||||
defer func() {
|
data += "玩不过就认输呗。"
|
||||||
if regexp.MustCompile("^[一-龥]{4}$").FindString(ct) == "" {
|
|
||||||
s2.Reply("玩不过就认输呗。", time.Duration(time.Second))
|
|
||||||
}
|
|
||||||
}()
|
|
||||||
}
|
}
|
||||||
return data
|
return data
|
||||||
}, `[\s\S]*`, time.Duration(time.Second*300))
|
}, `[\s\S]*`, time.Duration(time.Second*300))
|
||||||
|
|||||||
Reference in New Issue
Block a user