🐞 fix: 修复路径问题

This commit is contained in:
zhiyu1998 2024-08-13 17:09:41 +08:00
parent 8e64e45c7c
commit f1fd745734

View File

@ -1781,6 +1781,7 @@ export class tools extends plugin {
}
const url = urlRex.exec(e.msg)[0];
const tgSavePath = `${this.getCurDownloadPath(e)}/tg`;
await mkdirIfNotExists(tgSavePath);
await startTDL(url, tgSavePath, isOversea, this.myProxy);
e.reply(`识别:小飞机(学习版)`);
const mediaFiles = await getMediaFiles(tgSavePath);