Update index.ts
This commit is contained in:
parent
61a6f8c7c3
commit
a2f7331a8b
1 changed files with 7 additions and 4 deletions
11
src/index.ts
11
src/index.ts
|
@ -14,11 +14,14 @@ const main = async () => {
|
||||||
intents,
|
intents,
|
||||||
});
|
});
|
||||||
|
|
||||||
database();
|
database().then(async () => {logger.silly("Database process started")}).catch(async (err) => {logger.error(err)})
|
||||||
schedules(client);
|
schedules(client).then(async () => {logger.silly("Schedules process started")}).catch(async (err) => {logger.error(err)})
|
||||||
|
|
||||||
|
|
||||||
|
commands(client).then(async () => {logger.silly("Commands process started")}).catch(async (err) => {logger.error(err)})
|
||||||
|
|
||||||
|
events(client).then(async () => {logger.silly("Events process started")}).catch(async (err) => {logger.error(err)})
|
||||||
|
|
||||||
commands(client);
|
|
||||||
events(client);
|
|
||||||
|
|
||||||
client.login(token);
|
client.login(token);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue