mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🎈 pref: 优化X解析逻辑
This commit is contained in:
parent
de77bb11bd
commit
f6541d512b
@ -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)));
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user