This commit is contained in:
cdle
2021-10-12 16:53:51 +08:00
parent d880e3829b
commit d1886acb5c
+2 -2
View File
@@ -11,7 +11,7 @@ func init() {
AddCommand("", []Function{ AddCommand("", []Function{
{ {
Rules: []string{ Rules: []string{
"^小爱(.*)$", "^小爱同学$",
}, },
Handle: func(s Sender) interface{} { Handle: func(s Sender) interface{} {
api := sillyGirl.Get("小爱同学") api := sillyGirl.Get("小爱同学")
@@ -44,7 +44,7 @@ func init() {
if msg == "" { if msg == "" {
msg = "小爱" msg = "小爱"
} }
return reply(api) return reply(msg)
}, },
}, },
}) })