From fdba88c43736961a9c215933adcd31c657895927 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Tue, 12 Oct 2021 17:04:09 +0800 Subject: [PATCH] update --- core/xiaoai.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/xiaoai.go b/core/xiaoai.go index 53e445f..f126a53 100644 --- a/core/xiaoai.go +++ b/core/xiaoai.go @@ -20,9 +20,6 @@ func init() { return "未设置小同学api" } reply := func(str string) string { - s.Reply(api) - s.Reply(str) - s.Reply(fmt.Sprintf(api, str)) str, _ = httplib.Get(fmt.Sprintf(api, str)).String() if str == "" { str = "暂时无法回复。" @@ -32,6 +29,7 @@ func init() { msg := s.Get() if strings.Contains(msg, "对话模式") { stop := false + s.Reply("已开启对话模式。") for { if stop { break