🐞 fix: 隔离下载

This commit is contained in:
zhiyu1998 2024-08-13 16:53:14 +08:00
parent a4d4126825
commit 88331e938d

View File

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