worked on settings/rolemenu and help
diff --git a/src/index.ts b/src/index.ts
index a88cc54..b67da33 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -4,17 +4,15 @@
import register from "./utils/commandRegistration/register.js";
import { record as recordPerformance } from "./utils/performanceTesting/record.js";
-client.on("ready", () => {
+client.on("ready", async () => {
console.log(`Logged in as ${client.user!.tag}!`);
register();
runServer(client);
+ client.fetchedCommands = await client.application?.commands.fetch()!;
});
process.on("unhandledRejection", (err) => { console.error(err) });
process.on("uncaughtException", (err) => { console.error(err) });
await client.login(config.enableDevelopment ? config.developmentToken : config.token)
-await recordPerformance();
-
-import { getCommandMentionByName} from "./utils/getCommandMentionByName.js";
-console.log(await getCommandMentionByName("nucleus/premium"))
+await recordPerformance();
\ No newline at end of file