diff --git a/packages/builders/src/interactions/commands/chatInput/ChatInputCommandSubcommands.ts b/packages/builders/src/interactions/commands/chatInput/ChatInputCommandSubcommands.ts index ae6256be7..b3626fab3 100644 --- a/packages/builders/src/interactions/commands/chatInput/ChatInputCommandSubcommands.ts +++ b/packages/builders/src/interactions/commands/chatInput/ChatInputCommandSubcommands.ts @@ -74,7 +74,7 @@ export class ChatInputCommandSubcommandGroupBuilder const data = { ...(structuredClone(rest) as Omit), type: ApplicationCommandOptionType.SubcommandGroup as const, - options: options?.map((option) => option.toJSON(validationOverride)) ?? [], + options: options?.map((option) => option.toJSON(false)) ?? [], }; validate(chatInputCommandSubcommandGroupPredicate, data, validationOverride); @@ -107,7 +107,7 @@ export class ChatInputCommandSubcommandBuilder const data = { ...(structuredClone(rest) as Omit), type: ApplicationCommandOptionType.Subcommand as const, - options: options?.map((option) => option.toJSON(validationOverride)) ?? [], + options: options?.map((option) => option.toJSON(false)) ?? [], }; validate(chatInputCommandSubcommandPredicate, data, validationOverride);