🎨 改进代码样式 (#638)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-03-25 11:07:00 +08:00
committed by GitHub
parent 587d3967ef
commit 1a0575af64
3 changed files with 5 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ func init() {
sdb = initialize(engine.DataFolder() + "score.db")
}()
engine.OnRegex(`^签到\s?(\d*)$`, initDef).Limit(ctxext.LimitByUser).SetBlock(true).Handle(func(ctx *zero.Ctx) {
//选择key
// 选择key
var key string
gid := ctx.Event.GroupID
if gid < 0 {