1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-04-02 10:23:07 +08:00
parent f810a2ae86
commit 6aa601bb06
2 changed files with 2 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ import (
)
func init() {
zero.OnCommand("扭蛋").
zero.OnCommand("扭蛋", zero.Type("message/group")).
Handle(func(ctx *zero.Ctx) {
msgs := strings.Fields(ctx.Event.Message.String())
if len(msgs) <= 1 {