@discordjs/builders 2.0.0-dev.1772496345-d6e160940 → 2.0.0-dev.1772841884-52173b6ca
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3613,7 +3613,7 @@ var ChatInputCommandSubcommandGroupBuilder = class extends SharedNameAndDescript
|
|
|
3613
3613
|
const data = {
|
|
3614
3614
|
...structuredClone(rest),
|
|
3615
3615
|
type: import_v1038.ApplicationCommandOptionType.SubcommandGroup,
|
|
3616
|
-
options: options?.map((option) => option.toJSON(
|
|
3616
|
+
options: options?.map((option) => option.toJSON(false)) ?? []
|
|
3617
3617
|
};
|
|
3618
3618
|
validate(chatInputCommandSubcommandGroupPredicate, data, validationOverride);
|
|
3619
3619
|
return data;
|
|
@@ -3635,7 +3635,7 @@ var ChatInputCommandSubcommandBuilder = class extends (0, import_ts_mixer7.Mixin
|
|
|
3635
3635
|
const data = {
|
|
3636
3636
|
...structuredClone(rest),
|
|
3637
3637
|
type: import_v1038.ApplicationCommandOptionType.Subcommand,
|
|
3638
|
-
options: options?.map((option) => option.toJSON(
|
|
3638
|
+
options: options?.map((option) => option.toJSON(false)) ?? []
|
|
3639
3639
|
};
|
|
3640
3640
|
validate(chatInputCommandSubcommandPredicate, data, validationOverride);
|
|
3641
3641
|
return data;
|
|
@@ -5905,7 +5905,7 @@ var MessageBuilder = class {
|
|
|
5905
5905
|
};
|
|
5906
5906
|
|
|
5907
5907
|
// src/index.ts
|
|
5908
|
-
var version = "2.0.0-dev.
|
|
5908
|
+
var version = "2.0.0-dev.1772841884-52173b6ca";
|
|
5909
5909
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5910
5910
|
0 && (module.exports = {
|
|
5911
5911
|
ActionRowBuilder,
|