File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/builders/src/interactions/commands/chatInput Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export class ChatInputCommandSubcommandGroupBuilder
7474 const data = {
7575 ...( structuredClone ( rest ) as Omit < APIApplicationCommandSubcommandGroupOption , 'type' > ) ,
7676 type : ApplicationCommandOptionType . SubcommandGroup as const ,
77- options : options ?. map ( ( option ) => option . toJSON ( validationOverride ) ) ?? [ ] ,
77+ options : options ?. map ( ( option ) => option . toJSON ( false ) ) ?? [ ] ,
7878 } ;
7979
8080 validate ( chatInputCommandSubcommandGroupPredicate , data , validationOverride ) ;
@@ -107,7 +107,7 @@ export class ChatInputCommandSubcommandBuilder
107107 const data = {
108108 ...( structuredClone ( rest ) as Omit < APIApplicationCommandSubcommandOption , 'type' > ) ,
109109 type : ApplicationCommandOptionType . Subcommand as const ,
110- options : options ?. map ( ( option ) => option . toJSON ( validationOverride ) ) ?? [ ] ,
110+ options : options ?. map ( ( option ) => option . toJSON ( false ) ) ?? [ ] ,
111111 } ;
112112
113113 validate ( chatInputCommandSubcommandPredicate , data , validationOverride ) ;
You can’t perform that action at this time.
0 commit comments