From 283667cfe5420a4d56bd0a3e88b8fab69a06f3ca Mon Sep 17 00:00:00 2001 From: alexskim <2872999267@qq.com> Date: Tue, 13 Jun 2023 11:46:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=9A=E5=8A=9F=E8=83=BD=E6=8A=BD?= =?UTF-8?q?=E7=AD=BE=E4=B8=8D=E5=88=B7=E6=96=B0=E5=88=97=E8=A1=A8bug=20(#6?= =?UTF-8?q?93)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/drawlots/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/drawlots/main.go b/plugin/drawlots/main.go index 9d77e675..9154629e 100644 --- a/plugin/drawlots/main.go +++ b/plugin/drawlots/main.go @@ -53,7 +53,8 @@ var ( func init() { en.OnFullMatchGroup([]string{"抽签列表", "刷新抽签列表"}).SetBlock(true).Handle(func(ctx *zero.Ctx) { - lotsList, err := getList() // 刷新列表 + var err error + lotsList, err = getList() // 刷新列表 if err != nil { ctx.SendChain(message.Text("ERROR: ", err)) return