From 0a7d2d63aaeb075f3cfafe7320a9b77490dee1f2 Mon Sep 17 00:00:00 2001 From: lixiangwuxian Date: Thu, 10 Apr 2025 00:53:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=20actionManager=20?= =?UTF-8?q?=E4=B8=AD=20SendForward=20=E5=87=BD=E6=95=B0=E5=92=8C=20help=20?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E4=B8=AD=E7=9A=84=E6=97=A5=E5=BF=97=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action/action.go | 2 -- handler/help/help.go | 3 --- 2 files changed, 5 deletions(-) diff --git a/action/action.go b/action/action.go index b3dbd2d..fdde0b9 100644 --- a/action/action.go +++ b/action/action.go @@ -3,7 +3,6 @@ package action import ( "encoding/json" "fmt" - "log" "strconv" "sync" "time" @@ -70,7 +69,6 @@ func (am *actionManager) SendMsg(reply *model.Reply) error { } func (am *actionManager) SendForward(reply *model.Reply) error { - log.Println(reply) am.sendMtx.Lock() defer am.sendMtx.Unlock() userID := strconv.FormatInt(reply.FromMsg.UserId, 10) diff --git a/handler/help/help.go b/handler/help/help.go index 00ffe9e..b32c69f 100644 --- a/handler/help/help.go +++ b/handler/help/help.go @@ -1,8 +1,6 @@ package help import ( - "log" - "git.lxtend.com/qqbot/action" "git.lxtend.com/qqbot/constants" "git.lxtend.com/qqbot/handler" @@ -16,7 +14,6 @@ func init() { } func help(msg model.Message) *model.Reply { - log.Println(msg) var helpInfo string if len(util.SplitN(msg.RawMsg, 2)) == 1 { helpInfo = `请输入!help [分类] 查看下面的分类功能`