diff --git a/src/plugins/commands/dns/index.ts b/src/plugins/commands/dns/index.ts index 6b88d04..551814b 100644 --- a/src/plugins/commands/dns/index.ts +++ b/src/plugins/commands/dns/index.ts @@ -10,6 +10,7 @@ export const builder = new SlashCommandBuilder() .addSubcommand(modules.lookup.builder); +// Execute the command export const execute = async (interaction: ChatInputCommandInteraction) => { switch (interaction.options.getSubcommand()) { case "lookup": diff --git a/src/plugins/commands/manage/modules/counters/index.ts b/src/plugins/commands/manage/modules/counters/index.ts index 2c19d7d..941d672 100644 --- a/src/plugins/commands/manage/modules/counters/index.ts +++ b/src/plugins/commands/manage/modules/counters/index.ts @@ -8,6 +8,7 @@ import modules from "./modules"; // Function export const moduleData = modules; +// Create a discord builder export const builder = (group: SlashCommandSubcommandGroupBuilder) => { return group .setName("counters") @@ -16,6 +17,7 @@ export const builder = (group: SlashCommandSubcommandGroupBuilder) => { .addSubcommand(modules.remove.builder); }; +// Execute the command export const execute = async (interaction: ChatInputCommandInteraction) => { const { options } = interaction;