mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-18 20:50:12 +08:00
chore(lint): 改进代码样式 (#1040)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
4b0a2a12a8
commit
814fa0ce33
@ -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 {
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user