Update index.ts
This commit is contained in:
parent
523d45eca4
commit
0e17d18141
1 changed files with 5 additions and 9 deletions
14
src/index.ts
14
src/index.ts
|
@ -9,18 +9,14 @@ import schedules from "@schedules";
|
||||||
import events from "@handlers/events";
|
import events from "@handlers/events";
|
||||||
import commands from "@handlers/commands";
|
import commands from "@handlers/commands";
|
||||||
|
|
||||||
async function main() {
|
|
||||||
const client = new Client({
|
const client = new Client({
|
||||||
intents,
|
intents,
|
||||||
});
|
});
|
||||||
|
|
||||||
await database();
|
database();
|
||||||
await schedules(client);
|
schedules(client);
|
||||||
|
|
||||||
await commands(client);
|
commands(client);
|
||||||
await events(client);
|
events(client);
|
||||||
|
|
||||||
await client.login(token);
|
client.login(token);
|
||||||
}
|
|
||||||
|
|
||||||
main();
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue