diff --git a/plugin/drawlots/main.go b/plugin/drawlots/main.go index aa13785e..d396b5de 100644 --- a/plugin/drawlots/main.go +++ b/plugin/drawlots/main.go @@ -67,7 +67,7 @@ func init() { } ctx.SendChain(message.Image("base64://" + helper.BytesToString(textPic))) }) - en.OnRegex(`^抽(.*)签$`).SetBlock(true).Handle(func(ctx *zero.Ctx) { + en.OnRegex(`^抽(.+)签$`).SetBlock(true).Handle(func(ctx *zero.Ctx) { lotsType := ctx.State["regex_matched"].([]string)[1] fileInfo, ok := lotsList[lotsType] if !ok {