Use sequelize

This commit is contained in:
2022-04-17 15:19:12 +02:00
parent 6eccae8721
commit be2991cd50
8 changed files with 1316 additions and 31 deletions

View File

@@ -39,10 +39,10 @@ for (const file of eventFiles) {
logger.log(`Registered event: ${event.name}`);
}
logger.log("Connecting to database...");
dbUtil.initDb();
logger.log("Connected to database!");
logger.log("Starting bot...");
logger.log("Syncing database...");
dbUtil.syncDb();
client.login(process.env.TOKEN);