From 0e1bc43ac444a0f261d362514638b1f9576e0b36 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 25 Nov 2024 19:09:02 +0000 Subject: [PATCH] WIP: Start of list command --- src/commands/effects.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/commands/effects.ts b/src/commands/effects.ts index 0b014df..df8a515 100644 --- a/src/commands/effects.ts +++ b/src/commands/effects.ts @@ -14,5 +14,17 @@ export default class Effects extends Command { } public override async execute(interaction: CommandInteraction) { + if (!interaction.isChatInputCommand()) return; + + const subcommand = interaction.options.getSubcommand(); + + switch (subcommand) { + case "list": + await this.List(interaction); + break; + } + } + + private async List(interaction: CommandInteraction) { } }