mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-04 06:21:14 +00:00
chore: make lint happy
This commit is contained in:
parent
4434a617ed
commit
c22e4b543c
@ -82,7 +82,7 @@ func init() {
|
|||||||
}
|
}
|
||||||
ctx.State["__aichat_stor__"] = stor
|
ctx.State["__aichat_stor__"] = stor
|
||||||
return ctx.ExtractPlainText() != "" &&
|
return ctx.ExtractPlainText() != "" &&
|
||||||
(bool(!stor.noreplyat()) || (bool(stor.noreplyat()) && !ctx.Event.IsToMe))
|
(!stor.noreplyat() || (stor.noreplyat() && !ctx.Event.IsToMe))
|
||||||
}).SetBlock(false).Handle(func(ctx *zero.Ctx) {
|
}).SetBlock(false).Handle(func(ctx *zero.Ctx) {
|
||||||
gid := ctx.Event.GroupID
|
gid := ctx.Event.GroupID
|
||||||
if gid == 0 {
|
if gid == 0 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user