Merge pull request #305 from ZynerOrg/deepsource-transform-f9127818
Format code with standardjs and prettier
This commit is contained in:
commit
d19ec73889
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");
|
await logger.silly("Schedules process started");
|
||||||
})
|
})
|
||||||
.catch(async (err) => {
|
.catch(async (err) => {
|
||||||
await logger.error(err);
|
await logger.error(err);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Start command handler
|
// Start command handler
|
||||||
await commands(client)
|
await commands(client)
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
await logger.silly("Commands process started");
|
await logger.silly("Commands process started");
|
||||||
})
|
})
|
||||||
.catch(async (err) => {
|
.catch(async (err) => {
|
||||||
await logger.error(err);
|
await logger.error(err);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Start event handler
|
// Start event handler
|
||||||
await events(client)
|
await events(client)
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
await logger.silly("Events process started");
|
await logger.silly("Events process started");
|
||||||
})
|
})
|
||||||
.catch(async (err) => {
|
.catch(async (err) => {
|
||||||
await logger.error(err);
|
await logger.error(err);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Authorize with Discord's API
|
// Authorize with Discord's API
|
||||||
|
@ -58,8 +58,8 @@ const main = async () => {
|
||||||
|
|
||||||
await main()
|
await main()
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
await logger.silly("Main process started");
|
await logger.silly("Main process started");
|
||||||
})
|
})
|
||||||
.catch(async (err) => {
|
.catch(async (err) => {
|
||||||
await logger.error(err);
|
await logger.error(err);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue