diff --git a/src/plugins/commands/moderation/index.ts b/src/plugins/commands/moderation/index.ts index f98040f..e74193e 100644 --- a/src/plugins/commands/moderation/index.ts +++ b/src/plugins/commands/moderation/index.ts @@ -10,6 +10,7 @@ export const builder = new SlashCommandBuilder() .addSubcommand(modules.prune.builder); +// Execute the command export const execute = async (interaction: ChatInputCommandInteraction) => { switch (interaction.options.getSubcommand()) { case "prune": { diff --git a/src/plugins/commands/profile/index.ts b/src/plugins/commands/profile/index.ts index 9ded381..fb3f287 100644 --- a/src/plugins/commands/profile/index.ts +++ b/src/plugins/commands/profile/index.ts @@ -15,6 +15,7 @@ export const builder = new SlashCommandBuilder() .setDescription("Check a profile.") .addSubcommand(modules.view.builder); +// Execute the command export const execute = async (interaction: ChatInputCommandInteraction) => { const { options } = interaction; diff --git a/src/plugins/commands/shop/index.ts b/src/plugins/commands/shop/index.ts index 2db7112..1da2442 100644 --- a/src/plugins/commands/shop/index.ts +++ b/src/plugins/commands/shop/index.ts @@ -16,6 +16,7 @@ export const builder = new SlashCommandBuilder() .addSubcommand(modules.cpgg.builder) .addSubcommandGroup(modules.roles.builder); +// Execute the command export const execute = async (interaction: ChatInputCommandInteraction) => { const { options } = interaction; diff --git a/src/plugins/commands/utility/index.ts b/src/plugins/commands/utility/index.ts index 6ccdc81..fb87528 100644 --- a/src/plugins/commands/utility/index.ts +++ b/src/plugins/commands/utility/index.ts @@ -13,6 +13,7 @@ export const builder = new SlashCommandBuilder() .addSubcommand(modules.avatar.builder) .addSubcommand(modules.ping.builder); +// Execute the command export const execute = async (interaction: ChatInputCommandInteraction) => { switch (interaction.options.getSubcommand()) { case "about":