From 98965cf9525a361e18eee81e2214ec8267579625 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:28:25 +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/3a37bf8c-ce14-4906-aea6-f735b702251d/ --- 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); + });