mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 06:42:50 +02:00
Fix
This commit is contained in:
@@ -75,6 +75,6 @@ module.exports = class XiaoCommand extends Command {
|
|||||||
async sauceNao(img) {
|
async sauceNao(img) {
|
||||||
if (!this.sagiri) this.sagiri = await import('sagiri');
|
if (!this.sagiri) this.sagiri = await import('sagiri');
|
||||||
if (!this.sagiriClient) this.sagiriClient = this.sagiri(SAUCENAO_KEY);
|
if (!this.sagiriClient) this.sagiriClient = this.sagiri(SAUCENAO_KEY);
|
||||||
return sagiriClient(path.join(__dirname, '..', '..', 'assets', 'images', 'xiao', img));
|
return this.sagiriClient(path.join(__dirname, '..', '..', 'assets', 'images', 'xiao', img));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user