mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 10:10:25 +00:00
✨ aifalse 增加 清理缓存
This commit is contained in:
@@ -48,6 +48,8 @@ func newPools() *imgpool {
|
||||
Pool: map[string][]*pixiv.Illust{},
|
||||
Form: 0,
|
||||
}
|
||||
// 每次启动清理缓存
|
||||
os.RemoveAll(cache.Path)
|
||||
err := os.MkdirAll(cache.Path, 0755)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
||||
Reference in New Issue
Block a user