Still got errors and warnings, mostly the same and easy to fix
diff --git a/src/index.ts b/src/index.ts
index 5f5987e..22436e2 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,10 +1,10 @@
-import { Logger } from './utils/log.js';
-import runServer from './api/index.js';
-import Memory from './utils/memory.js';
-import { Guilds, History, ModNotes, Premium } from './utils/database.js';
-import client from './utils/client.js';
-import EventScheduler from './utils/eventScheduler.js';
+import { Logger } from "./utils/log.js";
+import runServer from "./api/index.js";
+import Memory from "./utils/memory.js";
+import { Guilds, History, ModNotes, Premium } from "./utils/database.js";
+import client from "./utils/client.js";
+import EventScheduler from "./utils/eventScheduler.js";
await client.registerCommandsIn("./commands");
await client.registerEventsIn("./events");
@@ -15,17 +15,17 @@
console.error(err);
});
-client.logger = new Logger()
-client.verify = {}
-client.roleMenu = {}
-client.memory = new Memory()
-client.noLog = []
+client.logger = new Logger();
+client.verify = {};
+client.roleMenu = {};
+client.memory = new Memory();
+client.noLog = [];
client.database = {
guilds: await new Guilds().setup(),
history: await new History().setup(),
notes: await new ModNotes().setup(),
premium: await new Premium().setup(),
eventScheduler: await new EventScheduler().start()
-}
+};
await client.login();
\ No newline at end of file