🎈 pref: 优化X解析逻辑

This commit is contained in:
zhiyu1998 2024-07-14 22:22:38 +08:00
parent de77bb11bd
commit f6541d512b

View File

@ -770,7 +770,7 @@ export class tools extends plugin {
e.reply(segment.image(url));
} else {
// 非海外使用🪜下载
this.downloadImg(url, this.getCurDownloadPath(e), "", !isOversea).then(path => {
downloadImg(url, this.getCurDownloadPath(e), "", !isOversea).then(path => {
e.reply(segment.image(fs.readFileSync(path)));
});
}