From d1886acb5c5b3df0c3426baa4f9c1372ade9f9b1 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Tue, 12 Oct 2021 16:53:51 +0800 Subject: [PATCH] update --- core/xiaoai.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/xiaoai.go b/core/xiaoai.go index d63ec0a..63ccb06 100644 --- a/core/xiaoai.go +++ b/core/xiaoai.go @@ -11,7 +11,7 @@ func init() { AddCommand("", []Function{ { Rules: []string{ - "^小爱(.*)$", + "^小爱同学$", }, Handle: func(s Sender) interface{} { api := sillyGirl.Get("小爱同学") @@ -44,7 +44,7 @@ func init() { if msg == "" { msg = "小爱" } - return reply(api) + return reply(msg) }, }, })