update
This commit is contained in:
+2
-2
@@ -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)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user