Merge pull request #305 from ZynerOrg/deepsource-transform-f9127818

Format code with standardjs and prettier
This commit is contained in:
Axel Olausson Holtenäs 2022-05-19 10:00:38 +02:00 committed by GitHub
commit d19ec73889
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);
}); });