Update index.ts

This commit is contained in:
Axel Olausson Holtenäs 2022-05-17 10:25:31 +02:00 committed by GitHub
parent 523d45eca4
commit 0e17d18141
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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