Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiang-Red committed Dec 26, 2022
1 parent 19d5be1 commit ed64e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/moehu/moehu.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ func getimage(ctx *zero.Ctx, api, rename string, i int64) (m message.Message, er
name := hex.EncodeToString(md5.Sum(nil))[:8] + ".jpg"
f := file.BOTPATH + "/" + filepath + rename + "/" + name
if file.IsNotExist(f) {
err = file.DownloadTo(v, f, false)
err = file.DownloadTo(v, f)
if err != nil {
return
}
Expand Down

0 comments on commit ed64e0a

Please sign in to comment.