💩👌 make lint happy

This commit is contained in:
fumiama
2022-01-14 22:17:03 +08:00
parent 8c8cd709b5
commit af8e6a63b9
7 changed files with 42 additions and 38 deletions

View File

@@ -49,7 +49,7 @@ func init() { // 插件主体
digest := md5.Sum(helper.StringToBytes(url))
f := cachefile + hex.EncodeToString(digest[:])
if file.IsNotExist(f) {
t.Canvas.SavePNG(f)
_ = t.Canvas.SavePNG(f)
}
ctx.SendChain(message.Image("file:///" + file.BOTPATH + "/" + f))
}