This commit is contained in:
cdle
2021-10-12 17:11:30 +08:00
parent 4975f4c484
commit 5121eb257e
+2 -2
View File
@@ -32,7 +32,7 @@ func init() {
s.Reply("已开启对话模式。") s.Reply("已开启对话模式。")
for { for {
if stop { if stop {
break return nil
} }
s.Await(s, func(s2 Sender) interface{} { s.Await(s, func(s2 Sender) interface{} {
msg := s2.GetContent() msg := s2.GetContent()
@@ -46,7 +46,7 @@ func init() {
if msg == "" { if msg == "" {
msg = "小爱" msg = "小爱"
} }
return nil return reply(msg)
}, },
}, },
}) })