feat: 在 help 函数中添加日志记录以输出原始消息内容

This commit is contained in:
lixiangwuxian 2025-04-10 00:47:34 +08:00
parent fae490f43e
commit bb49892aa4

View File

@ -1,6 +1,8 @@
package help
import (
"log"
"git.lxtend.com/qqbot/action"
"git.lxtend.com/qqbot/constants"
"git.lxtend.com/qqbot/handler"
@ -14,6 +16,7 @@ func init() {
}
func help(msg model.Message) *model.Reply {
log.Println(msg.RawMsg)
var helpInfo string
if len(util.SplitN(msg.RawMsg, 2)) == 1 {
helpInfo = `请输入!help [分类] 查看下面的分类功能`