Refactor image (#419)

This commit is contained in:
himawari
2022-09-17 14:53:25 +08:00
committed by GitHub
parent 598a255e34
commit d3ab1e1560
7 changed files with 23 additions and 24 deletions

View File

@@ -49,7 +49,7 @@ func init() {
}
sdb = initialize(engine.DataFolder() + "score.db")
}()
engine.OnFullMatch("签到", zero.OnlyGroup).Limit(ctxext.LimitByGroup).SetBlock(true).
engine.OnFullMatch("签到").Limit(ctxext.LimitByUser).SetBlock(true).
Handle(func(ctx *zero.Ctx) {
uid := ctx.Event.UserID
now := time.Now()