修复pixiv下载

This commit is contained in:
fumiama
2022-02-27 14:17:29 +08:00
parent d9e195ccd0
commit 0e15ac78b2
4 changed files with 19 additions and 33 deletions

View File

@@ -58,6 +58,9 @@ func init() { // 插件主体
m.SetFile(f)
_, _ = m.Push(ctxext.SendToSelf(ctx), ctxext.GetMessage(ctx))
}
if err1 != nil {
logrus.Debugln("[sausenao]下载err:", err1)
}
}
imgs = append(imgs, message.Image("file:///"+f))
}