fix(aichat): block chat at at

This commit is contained in:
源文雨 2025-02-17 23:39:41 +09:00
parent dc899f55fe
commit 71d029f7a0

View File

@ -94,6 +94,9 @@ func init() {
if !ctx.Event.IsToMe && rand.Intn(100) >= int(rate) {
return
}
if ctx.Event.IsToMe {
ctx.Block()
}
key := ""
err := c.GetExtra(&key)
if err != nil {