removed discordjs/builders, worked on help
diff --git a/src/index.ts b/src/index.ts
index b67da33..306811e 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -8,7 +8,11 @@
console.log(`Logged in as ${client.user!.tag}!`);
register();
runServer(client);
- client.fetchedCommands = await client.application?.commands.fetch()!;
+ if (config.enableDevelopment) {
+ client.fetchedCommands = await client.guilds.cache.get(config.developmentGuildID)?.commands.fetch()!;
+ } else {
+ client.fetchedCommands = await client.application?.commands.fetch()!;
+ }
});
process.on("unhandledRejection", (err) => { console.error(err) });
process.on("uncaughtException", (err) => { console.error(err) });