loads of bug fixes
diff --git a/src/index.ts b/src/index.ts
index 35afc14..0ae917c 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -2,7 +2,7 @@
import { Logger } from './utils/log.js';
import runServer from './api/index.js';
import Memory from './utils/memory.js';
-import { Guilds, History, ModNotes, EventSchedulerDatabase } from './utils/database.js';
+import { Guilds, History, ModNotes, Premium } from './utils/database.js';
import client from './utils/client.js';
import EventScheduler from './utils/eventScheduler.js';
@@ -16,11 +16,13 @@
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(),
- eventScheduler: new EventSchedulerDatabase()
+ premium: await new Premium().setup(),
+ eventScheduler: await new EventScheduler().start()
}
await client.login();
\ No newline at end of file