From d78502b373ceb9c2db058ac1a28abbaaae4c2370 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 17 May 2022 08:29:20 +0000 Subject: [PATCH] Format code with standardjs and prettier This commit fixes the style issues introduced in 61a6f8c according to the output from standardjs and prettier. Details: https://deepsource.io/gh/ZynerOrg/xyter/transform/5748ec0d-dd21-431e-abe5-6b7058ce1e4d/ --- src/index.ts | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/index.ts b/src/index.ts index b3779fe..61a0290 100644 --- a/src/index.ts +++ b/src/index.ts @@ -14,13 +14,19 @@ const main = async () => { intents, }); - database(); - schedules(client); + database(); + schedules(client); - commands(client); - events(client); + commands(client); + events(client); - client.login(token); -} + client.login(token); +}; -main().then(async () => {logger.silly("Main process started")}).catch(async (err) => {logger.error(err)}) +main() + .then(async () => { + logger.silly("Main process started"); + }) + .catch(async (err) => { + logger.error(err); + });