mirror of
https://github.com/Mestima/luna.git
synced 2025-05-05 21:50:15 +00:00
codestyle fix
This commit is contained in:
parent
702aacdfa6
commit
1dfc65fad2
@ -19,9 +19,7 @@ const InteractionHandler = class {
|
|||||||
await import(pathToFileURL(curPath).toString()).then(res => {
|
await import(pathToFileURL(curPath).toString()).then(res => {
|
||||||
this.commands[res.default.data.name] = { cmd: res.default.data.toJSON(), execute: res.default.execute };
|
this.commands[res.default.data.name] = { cmd: res.default.data.toJSON(), execute: res.default.execute };
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
throw err;
|
throw err;
|
||||||
|
@ -14,7 +14,6 @@ const APIService = class {
|
|||||||
await import(pathToFileURL(curPath).toString()).then(res => {
|
await import(pathToFileURL(curPath).toString()).then(res => {
|
||||||
this.APIs[res.default.name] = res.default.execute;
|
this.APIs[res.default.name] = res.default.execute;
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user