From 0e17d18141232c4867de4a94de4f82c1a947fb5c Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Tue, 17 May 2022 10:25:31 +0200 Subject: [PATCH] Update index.ts --- src/index.ts | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/index.ts b/src/index.ts index c083eae..10146ea 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,18 +9,14 @@ import schedules from "@schedules"; import events from "@handlers/events"; import commands from "@handlers/commands"; -async function main() { const client = new Client({ intents, }); - await database(); - await schedules(client); + database(); + schedules(client); - await commands(client); - await events(client); + commands(client); + events(client); - await client.login(token); -} - -main(); + client.login(token);