From 30e992b5b9f165dfc472b77aa02d65a6c176b989 Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Sun, 16 Oct 2022 15:09:14 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20Added=20comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/commands/moderation/index.ts | 1 + src/plugins/commands/profile/index.ts | 1 + src/plugins/commands/shop/index.ts | 1 + src/plugins/commands/utility/index.ts | 1 + 4 files changed, 4 insertions(+) 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":