diff --git a/.changeset/slow-seas-fix.md b/.changeset/slow-seas-fix.md new file mode 100644 index 00000000..5a64c18d --- /dev/null +++ b/.changeset/slow-seas-fix.md @@ -0,0 +1,5 @@ +--- +"@buape/carbon": patch +--- + +fix: correctly get options of subcommands and subcommandgroups diff --git a/packages/carbon/src/internals/AutocompleteInteraction.ts b/packages/carbon/src/internals/AutocompleteInteraction.ts index 32cf93e1..84d1d9e5 100644 --- a/packages/carbon/src/internals/AutocompleteInteraction.ts +++ b/packages/carbon/src/internals/AutocompleteInteraction.ts @@ -1,6 +1,5 @@ import { type APIApplicationCommandAutocompleteInteraction, - type APIApplicationCommandInteractionDataBasicOption, ApplicationCommandOptionType, ApplicationCommandType, InteractionResponseType, @@ -34,8 +33,7 @@ export class AutocompleteInteraction extends BaseInteraction