Skip to content

Commit

Permalink
修多功能抽签不刷新列表bug (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexskim committed Jun 13, 2023
1 parent 6403614 commit 283667c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin/drawlots/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 283667c

Please sign in to comment.