From 814fa0ce337c89739d4aa7cb28fbb760e76b8c1e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 00:12:03 +0900 Subject: [PATCH] =?UTF-8?q?chore(lint):=20=E6=94=B9=E8=BF=9B=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=A0=B7=E5=BC=8F=20(#1040)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- plugin/niuniu/draw.go | 5 +++-- plugin/niuniu/main.go | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/niuniu/draw.go b/plugin/niuniu/draw.go index 83d3d1a5be..cce5026a62 100644 --- a/plugin/niuniu/draw.go +++ b/plugin/niuniu/draw.go @@ -2,12 +2,13 @@ package niuniu import ( "fmt" + "image" + "net/http" + "github.com/FloatTech/floatbox/file" "github.com/FloatTech/rendercard" "github.com/FloatTech/zbputils/control" "github.com/FloatTech/zbputils/img/text" - "image" - "net/http" ) type drawUserRanking struct { diff --git a/plugin/niuniu/main.go b/plugin/niuniu/main.go index 5ba9166ce3..a9810e8bd2 100644 --- a/plugin/niuniu/main.go +++ b/plugin/niuniu/main.go @@ -214,7 +214,6 @@ func init() { return } ctx.SendChain(message.ImageBytes(buf)) - }) en.OnFullMatch("牛子深度排行", zero.OnlyGroup, getdb).SetBlock(true).Handle(func(ctx *zero.Ctx) { gid := ctx.Event.GroupID