🎈 pref: 优化X解析逻辑

This commit is contained in:
zhiyu1998 2024-07-14 22:48:41 +08:00
parent eec5741dbd
commit a493b98f98

View File

@ -776,7 +776,7 @@ export class tools extends plugin {
downloadImg(url, localPath, "", isOversea, {}, {
proxyAddr: proxy,
proxyPort: port
}).then(path => {
}).then(_ => {
e.reply(segment.image(fs.readFileSync(localPath + "/" + url.split("/").pop())));
});
}