Format code with standardjs and prettier
This commit fixes the style issues introduced in 9780e8c
according to the output
from standardjs and prettier.
Details: https://deepsource.io/gh/ZynerOrg/xyter/transform/dcd0e7f9-fa2c-4994-b383-8bbe416990d2/
This commit is contained in:
parent
9780e8c32c
commit
9a528e98fb
1 changed files with 7 additions and 7 deletions
14
src/index.ts
14
src/index.ts
|
@ -31,25 +31,25 @@ const main = async () => {
|
|||
await logger.silly("Schedules process started");
|
||||
})
|
||||
.catch(async (err) => {
|
||||
await logger.error(err);
|
||||
await logger.error(err);
|
||||
});
|
||||
|
||||
// Start command handler
|
||||
await commands(client)
|
||||
.then(async () => {
|
||||
await logger.silly("Commands process started");
|
||||
await logger.silly("Commands process started");
|
||||
})
|
||||
.catch(async (err) => {
|
||||
await logger.error(err);
|
||||
await logger.error(err);
|
||||
});
|
||||
|
||||
// Start event handler
|
||||
await events(client)
|
||||
.then(async () => {
|
||||
await logger.silly("Events process started");
|
||||
await logger.silly("Events process started");
|
||||
})
|
||||
.catch(async (err) => {
|
||||
await logger.error(err);
|
||||
await logger.error(err);
|
||||
});
|
||||
|
||||
// Authorize with Discord's API
|
||||
|
@ -58,8 +58,8 @@ const main = async () => {
|
|||
|
||||
await main()
|
||||
.then(async () => {
|
||||
await logger.silly("Main process started");
|
||||
await logger.silly("Main process started");
|
||||
})
|
||||
.catch(async (err) => {
|
||||
await logger.error(err);
|
||||
await logger.error(err);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue