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 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);
|
||||
|
|
Loading…
Add table
Reference in a new issue