mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-23 01:36:36 +08:00
make lint happy
This commit is contained in:
parent
7e11924b3f
commit
2410a7b3ed
@ -264,7 +264,7 @@ func init() {
|
||||
canvas.DrawString("("+info[3]+")", 1150, float64(260+50*i)-h)
|
||||
}
|
||||
data, err := imgfactory.ToBytes(canvas.Image())
|
||||
if err = canvas.LoadFontFace(text.BoldFontFile, fontSize); err != nil {
|
||||
if err != nil {
|
||||
ctx.SendChain(message.Text("[qqwife]ERROR: ", err))
|
||||
return
|
||||
}
|
||||
|
||||
@ -190,7 +190,7 @@ func init() {
|
||||
i++
|
||||
}
|
||||
data, err := imgfactory.ToBytes(canvas.Image())
|
||||
if err = canvas.LoadFontFace(text.BoldFontFile, fontSize); err != nil {
|
||||
if err != nil {
|
||||
ctx.SendChain(message.Text("[qqwife]ERROR: ", err))
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user