codestyle fix

This commit is contained in:
Mestima 2023-03-29 00:02:31 +03:00
parent 702aacdfa6
commit 1dfc65fad2
2 changed files with 0 additions and 3 deletions

View File

@ -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;

View File

@ -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;
} }