diff --git a/src/commands/shop/index.ts b/src/commands/shop/index.ts index 8d80477..9e05753 100644 --- a/src/commands/shop/index.ts +++ b/src/commands/shop/index.ts @@ -35,6 +35,10 @@ export const execute = async (interaction: ChatInputCommandInteraction) => { } } + if(!options.getSubcommandGroup()) { + return; + }; + switch (options.getSubcommandGroup()) { case "roles": { await RolesExecute(interaction);