Update robot.go
This commit is contained in:
parent
2757de0f03
commit
3a94e21ab3
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user