mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
@@ -75,6 +75,6 @@ module.exports = class XiaoCommand extends Command {
|
||||
async sauceNao(img) {
|
||||
if (!this.sagiri) this.sagiri = await import('sagiri');
|
||||
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