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("已开启对话模式。")
for {
if stop {
break
return nil
}
s.Await(s, func(s2 Sender) interface{} {
msg := s2.GetContent()
@@ -46,7 +46,7 @@ func init() {
if msg == "" {
msg = "小爱"
}
return nil
return reply(msg)
},
},
})