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:
deepsource-autofix[bot] 2022-05-17 09:52:56 +00:00 committed by GitHub
parent 9780e8c32c
commit 9a528e98fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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