few changes
diff --git a/src/index.ts b/src/index.ts
index 3b735cb..306c5ee 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -2,15 +2,22 @@
import { Intents } from 'discord.js';
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';
+
const client = new HaikuClient({
intents: new Intents(32767).bitfield, // This is a way of specifying all intents w/o having to type them out
}, config);
await client.registerCommandsIn("./commands");
await client.registerEventsIn("./events");
+client.on("ready", () => {
+ runServer(client);
+});
client.logger = new Logger()
client.verify = {}
client.roleMenu = {}
+client.memory = new Memory()
await client.login();
\ No newline at end of file