Update robot.go

This commit is contained in:
徐俊杰 2025-06-19 11:13:50 +08:00
parent 2757de0f03
commit 3a94e21ab3

View File

@ -256,7 +256,7 @@ func (r *Robot) ReloadRules(ctx context.Context) error {
tmp.Parse(v) tmp.Parse(v)
data = append(data, &tmp) data = append(data, &tmp)
} }
ParseReplyRule(data) r.joinSessionRules, r.keywordsRules, r.noReplyAfterRules = ParseReplyRule(data)
} }
return nil return nil
} }