fix: 移除 actionManager 中 SendForward 函数和 help 函数中的日志记录

This commit is contained in:
lixiangwuxian 2025-04-10 00:53:08 +08:00
parent 7d3da26eb2
commit 0a7d2d63aa
2 changed files with 0 additions and 5 deletions

View File

@ -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)

View File

@ -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 [分类] 查看下面的分类功能`