Fixed a lot of commands, 0 typing errors on those changed
diff --git a/src/index.ts b/src/index.ts
index eac8818..f7fdde5 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,5 +1,6 @@
import runServer from "./api/index.js";
import client from "./utils/client.js";
+// @ts-expect-error
import config from "./config/main.json" assert { type: "json" };
import register from "./utils/commandRegistration/register.js";
@@ -11,6 +12,9 @@
process.on("unhandledRejection", (err) => {
console.error(err);
});
+process.on("uncaughtException", (err) => {
+ console.error(err);
+});
if (config.enableDevelopment) { await client.login(config.developmentToken); }
else { await client.login(config.token); }