fix: 修改 MsgInHandler 函数的返回值为 nil,以确保在没有回复消息时返回空值,提升代码的清晰度
This commit is contained in:
parent
a4585582ca
commit
eae9e4ce08
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user