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) { } }