diff --git a/plugin_fortune/fortune.go b/plugin_fortune/fortune.go index c1d7b1e1..30841483 100644 --- a/plugin_fortune/fortune.go +++ b/plugin_fortune/fortune.go @@ -109,7 +109,7 @@ func init() { folder := base + kind if _, err := os.Stat(folder); err != nil && !os.IsExist(err) { ctx.SendChain(message.Text("正在下载背景图片,请稍后...")) - zipfile := kind + ".zip" + zipfile := folder + ".zip" err := dl.DownloadTo(site+zipfile, zipfile) if err != nil { ctx.SendChain(message.Text("ERROR: ", err))