mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
feat: 练度统计
This commit is contained in:
parent
b44c9caa47
commit
cb9c31f27c
15 changed files with 845 additions and 36 deletions
|
|
@ -142,7 +142,7 @@ export class Panel extends ZZZPlugin {
|
|||
if (!this.e.isMaster) return false;
|
||||
await this.reply('【注意】正在删除所有资源图片,后续使用需要重新下载!');
|
||||
if (fs.existsSync(imageResourcesPath)) {
|
||||
fs.rmdirSync(imageResourcesPath, { recursive: true });
|
||||
fs.rmSync(imageResourcesPath, { recursive: true });
|
||||
}
|
||||
await this.reply('资源图片已删除!');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue