fix: 修改 MsgInHandler 函数的返回值为 nil,以确保在没有回复消息时返回空值,提升代码的清晰度

This commit is contained in:
lixiangwuxian 2025-04-09 23:39:19 +08:00
parent a4585582ca
commit eae9e4ce08

View File

@ -144,7 +144,7 @@ func MsgInHandler(msg model.Message) (reply *model.Reply) {
if !msg.GroupInfo.IsGroupMsg && privateAllHandler != nil {
return privateAllHandler(msg)
}
return &model.Reply{}
return nil
}
func RegisterHelpInform(triggerName string, category string, inform string) {