huge changes once again
diff --git a/src/index.ts b/src/index.ts
index ca14cdb..35afc14 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,10 +1,10 @@
-import config from './config/main.json' assert {type: 'json'};
import { Logger } from './utils/log.js';
import runServer from './api/index.js';
import Memory from './utils/memory.js';
-import Database from './utils/database.js';
+import { Guilds, History, ModNotes, EventSchedulerDatabase } from './utils/database.js';
import client from './utils/client.js';
+import EventScheduler from './utils/eventScheduler.js';
await client.registerCommandsIn("./commands");
await client.registerEventsIn("./events");
@@ -16,6 +16,11 @@
client.verify = {}
client.roleMenu = {}
client.memory = new Memory()
-client.database = await new Database(config.mongoUrl).connect()
+client.database = {
+ guilds: await new Guilds().setup(),
+ history: await new History().setup(),
+ notes: await new ModNotes().setup(),
+ eventScheduler: new EventSchedulerDatabase()
+}
await client.login();
\ No newline at end of file