@discordjs/builders 1.13.0 → 1.13.1

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 CHANGED
@@ -38,8 +38,8 @@ var __decorateClass = (decorators, target, key, kind) => {
38
38
  };
39
39
 
40
40
  // src/index.ts
41
- var src_exports = {};
42
- __export(src_exports, {
41
+ var index_exports = {};
42
+ __export(index_exports, {
43
43
  ActionRowBuilder: () => ActionRowBuilder,
44
44
  ApplicationCommandNumericOptionMinMaxValueMixin: () => ApplicationCommandNumericOptionMinMaxValueMixin,
45
45
  ApplicationCommandOptionBase: () => ApplicationCommandOptionBase,
@@ -51,24 +51,25 @@ __export(src_exports, {
51
51
  ChannelSelectMenuBuilder: () => ChannelSelectMenuBuilder,
52
52
  ComponentAssertions: () => Assertions_exports2,
53
53
  ComponentBuilder: () => ComponentBuilder,
54
- ComponentsV2Assertions: () => Assertions_exports6,
54
+ ComponentsV2Assertions: () => Assertions_exports7,
55
55
  ContainerBuilder: () => ContainerBuilder,
56
- ContextMenuCommandAssertions: () => Assertions_exports9,
56
+ ContextMenuCommandAssertions: () => Assertions_exports10,
57
57
  ContextMenuCommandBuilder: () => ContextMenuCommandBuilder,
58
58
  EmbedAssertions: () => Assertions_exports,
59
59
  EmbedBuilder: () => EmbedBuilder,
60
60
  FileBuilder: () => FileBuilder,
61
61
  FileUploadAssertions: () => Assertions_exports3,
62
62
  FileUploadBuilder: () => FileUploadBuilder,
63
- LabelAssertions: () => Assertions_exports5,
63
+ LabelAssertions: () => Assertions_exports6,
64
64
  LabelBuilder: () => LabelBuilder,
65
65
  MediaGalleryBuilder: () => MediaGalleryBuilder,
66
66
  MediaGalleryItemBuilder: () => MediaGalleryItemBuilder,
67
67
  MentionableSelectMenuBuilder: () => MentionableSelectMenuBuilder,
68
- ModalAssertions: () => Assertions_exports7,
68
+ ModalAssertions: () => Assertions_exports8,
69
69
  ModalBuilder: () => ModalBuilder,
70
70
  RoleSelectMenuBuilder: () => RoleSelectMenuBuilder,
71
71
  SectionBuilder: () => SectionBuilder,
72
+ SelectMenuAssertions: () => Assertions_exports5,
72
73
  SelectMenuBuilder: () => StringSelectMenuBuilder,
73
74
  SelectMenuOptionBuilder: () => StringSelectMenuOptionBuilder,
74
75
  SeparatorBuilder: () => SeparatorBuilder,
@@ -76,7 +77,7 @@ __export(src_exports, {
76
77
  SharedSlashCommand: () => SharedSlashCommand,
77
78
  SharedSlashCommandOptions: () => SharedSlashCommandOptions,
78
79
  SharedSlashCommandSubcommands: () => SharedSlashCommandSubcommands,
79
- SlashCommandAssertions: () => Assertions_exports8,
80
+ SlashCommandAssertions: () => Assertions_exports9,
80
81
  SlashCommandAttachmentOption: () => SlashCommandAttachmentOption,
81
82
  SlashCommandBooleanOption: () => SlashCommandBooleanOption,
82
83
  SlashCommandBuilder: () => SlashCommandBuilder,
@@ -105,7 +106,7 @@ __export(src_exports, {
105
106
  resolveBuilder: () => resolveBuilder,
106
107
  version: () => version
107
108
  });
108
- module.exports = __toCommonJS(src_exports);
109
+ module.exports = __toCommonJS(index_exports);
109
110
 
110
111
  // src/messages/embed/Assertions.ts
111
112
  var Assertions_exports = {};
@@ -246,7 +247,7 @@ var EmbedBuilder = class {
246
247
  *
247
248
  * @remarks
248
249
  * This method behaves similarly
249
- * to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice | Array.prototype.splice()}.
250
+ * to {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/splice | Array.prototype.splice()}.
250
251
  * The maximum amount of fields that can be added is 25.
251
252
  *
252
253
  * It's useful for modifying and adjusting order of the already-existing fields of an embed.
@@ -407,7 +408,7 @@ var EmbedBuilder = class {
407
408
  };
408
409
 
409
410
  // src/index.ts
410
- __reExport(src_exports, require("@discordjs/formatters"), module.exports);
411
+ __reExport(index_exports, require("@discordjs/formatters"), module.exports);
411
412
 
412
413
  // src/components/Assertions.ts
413
414
  var Assertions_exports2 = {};
@@ -832,7 +833,7 @@ var FileUploadBuilder = class extends ComponentBuilder {
832
833
  /**
833
834
  * Sets the maximum number of file uploads required.
834
835
  *
835
- * @param maxValues - The maximum values that must be uploaded
836
+ * @param maxValues - The maximum values that can be uploaded
836
837
  */
837
838
  setMaxValues(maxValues) {
838
839
  this.data.max_values = maxValues;
@@ -932,9 +933,9 @@ var BaseSelectMenuBuilder = class extends ComponentBuilder {
932
933
  return this;
933
934
  }
934
935
  /**
935
- * Sets the maximum values that must be selected in the select menu.
936
+ * Sets the maximum values that can be selected in the select menu.
936
937
  *
937
- * @param maxValues - The maximum values that must be selected
938
+ * @param maxValues - The maximum values that can be selected
938
939
  */
939
940
  setMaxValues(maxValues) {
940
941
  this.data.max_values = minMaxValidator.parse(maxValues);
@@ -1229,7 +1230,71 @@ var RoleSelectMenuBuilder = class extends BaseSelectMenuBuilder {
1229
1230
  };
1230
1231
 
1231
1232
  // src/components/selectMenu/StringSelectMenu.ts
1233
+ var import_v1010 = require("discord-api-types/v10");
1234
+
1235
+ // src/components/selectMenu/Assertions.ts
1236
+ var Assertions_exports5 = {};
1237
+ __export(Assertions_exports5, {
1238
+ selectMenuChannelPredicate: () => selectMenuChannelPredicate,
1239
+ selectMenuMentionablePredicate: () => selectMenuMentionablePredicate,
1240
+ selectMenuRolePredicate: () => selectMenuRolePredicate,
1241
+ selectMenuStringOptionPredicate: () => selectMenuStringOptionPredicate,
1242
+ selectMenuStringPredicate: () => selectMenuStringPredicate,
1243
+ selectMenuUserPredicate: () => selectMenuUserPredicate
1244
+ });
1245
+ var import_shapeshift5 = require("@sapphire/shapeshift");
1232
1246
  var import_v109 = require("discord-api-types/v10");
1247
+ var selectMenuBasePredicate = import_shapeshift5.s.object({
1248
+ id: idValidator.optional(),
1249
+ placeholder: import_shapeshift5.s.string().lengthLessThanOrEqual(150).optional(),
1250
+ min_values: import_shapeshift5.s.number().greaterThanOrEqual(0).lessThanOrEqual(25).optional(),
1251
+ max_values: import_shapeshift5.s.number().greaterThanOrEqual(0).lessThanOrEqual(25).optional(),
1252
+ custom_id: customIdValidator,
1253
+ disabled: import_shapeshift5.s.boolean().optional()
1254
+ });
1255
+ var selectMenuChannelPredicate = selectMenuBasePredicate.extend({
1256
+ type: import_shapeshift5.s.literal(import_v109.ComponentType.ChannelSelect),
1257
+ channel_types: import_shapeshift5.s.nativeEnum(import_v109.ChannelType).array().optional(),
1258
+ default_values: import_shapeshift5.s.object({ id: import_shapeshift5.s.string(), type: import_shapeshift5.s.literal(import_v109.SelectMenuDefaultValueType.Channel) }).array().lengthLessThanOrEqual(25).optional()
1259
+ }).setValidationEnabled(isValidationEnabled);
1260
+ var selectMenuMentionablePredicate = selectMenuBasePredicate.extend({
1261
+ type: import_shapeshift5.s.literal(import_v109.ComponentType.MentionableSelect),
1262
+ default_values: import_shapeshift5.s.object({
1263
+ id: import_shapeshift5.s.string(),
1264
+ type: import_shapeshift5.s.union([import_shapeshift5.s.literal(import_v109.SelectMenuDefaultValueType.Role), import_shapeshift5.s.literal(import_v109.SelectMenuDefaultValueType.User)])
1265
+ }).array().lengthLessThanOrEqual(25).optional()
1266
+ }).setValidationEnabled(isValidationEnabled);
1267
+ var selectMenuRolePredicate = selectMenuBasePredicate.extend({
1268
+ type: import_shapeshift5.s.literal(import_v109.ComponentType.RoleSelect),
1269
+ default_values: import_shapeshift5.s.object({ id: import_shapeshift5.s.string(), type: import_shapeshift5.s.literal(import_v109.SelectMenuDefaultValueType.Role) }).array().lengthLessThanOrEqual(25).optional()
1270
+ }).setValidationEnabled(isValidationEnabled);
1271
+ var selectMenuUserPredicate = selectMenuBasePredicate.extend({
1272
+ type: import_shapeshift5.s.literal(import_v109.ComponentType.UserSelect),
1273
+ default_values: import_shapeshift5.s.object({ id: import_shapeshift5.s.string(), type: import_shapeshift5.s.literal(import_v109.SelectMenuDefaultValueType.User) }).array().lengthLessThanOrEqual(25).optional()
1274
+ }).setValidationEnabled(isValidationEnabled);
1275
+ var selectMenuStringOptionPredicate = import_shapeshift5.s.object({
1276
+ label: import_shapeshift5.s.string().lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100),
1277
+ value: import_shapeshift5.s.string().lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100),
1278
+ description: import_shapeshift5.s.string().lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100).optional(),
1279
+ emoji: emojiValidator.optional(),
1280
+ default: import_shapeshift5.s.boolean().optional()
1281
+ }).setValidationEnabled(isValidationEnabled);
1282
+ var selectMenuStringPredicate = selectMenuBasePredicate.extend({
1283
+ type: import_shapeshift5.s.literal(import_v109.ComponentType.StringSelect),
1284
+ options: selectMenuStringOptionPredicate.array().lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(25)
1285
+ }).reshape((value) => {
1286
+ if (value.min_values !== void 0 && value.options.length < value.min_values) {
1287
+ return import_shapeshift5.Result.err(new RangeError(`The number of options must be greater than or equal to min_values`));
1288
+ }
1289
+ if (value.min_values !== void 0 && value.max_values !== void 0 && value.min_values > value.max_values) {
1290
+ return import_shapeshift5.Result.err(
1291
+ new RangeError(`The maximum amount of options must be greater than or equal to the minimum amount of options`)
1292
+ );
1293
+ }
1294
+ return import_shapeshift5.Result.ok(value);
1295
+ }).setValidationEnabled(isValidationEnabled);
1296
+
1297
+ // src/components/selectMenu/StringSelectMenu.ts
1233
1298
  var StringSelectMenuBuilder = class extends BaseSelectMenuBuilder {
1234
1299
  static {
1235
1300
  __name(this, "StringSelectMenuBuilder");
@@ -1271,7 +1336,7 @@ var StringSelectMenuBuilder = class extends BaseSelectMenuBuilder {
1271
1336
  */
1272
1337
  constructor(data) {
1273
1338
  const { options, ...initData } = data ?? {};
1274
- super({ ...initData, type: import_v109.ComponentType.StringSelect });
1339
+ super({ ...initData, type: import_v1010.ComponentType.StringSelect });
1275
1340
  this.options = options?.map((option) => new StringSelectMenuOptionBuilder(option)) ?? [];
1276
1341
  }
1277
1342
  /**
@@ -1284,7 +1349,7 @@ var StringSelectMenuBuilder = class extends BaseSelectMenuBuilder {
1284
1349
  optionsLengthValidator.parse(this.options.length + normalizedOptions.length);
1285
1350
  this.options.push(
1286
1351
  ...normalizedOptions.map(
1287
- (normalizedOption) => normalizedOption instanceof StringSelectMenuOptionBuilder ? normalizedOption : new StringSelectMenuOptionBuilder(jsonOptionValidator.parse(normalizedOption))
1352
+ (normalizedOption) => normalizedOption instanceof StringSelectMenuOptionBuilder ? normalizedOption : new StringSelectMenuOptionBuilder(selectMenuStringOptionPredicate.parse(normalizedOption))
1288
1353
  )
1289
1354
  );
1290
1355
  return this;
@@ -1331,7 +1396,7 @@ var StringSelectMenuBuilder = class extends BaseSelectMenuBuilder {
1331
1396
  index,
1332
1397
  deleteCount,
1333
1398
  ...normalizedOptions.map(
1334
- (normalizedOption) => normalizedOption instanceof StringSelectMenuOptionBuilder ? normalizedOption : new StringSelectMenuOptionBuilder(jsonOptionValidator.parse(normalizedOption))
1399
+ (normalizedOption) => normalizedOption instanceof StringSelectMenuOptionBuilder ? normalizedOption : new StringSelectMenuOptionBuilder(selectMenuStringOptionPredicate.parse(normalizedOption))
1335
1400
  )
1336
1401
  );
1337
1402
  optionsLengthValidator.parse(clone.length);
@@ -1351,7 +1416,7 @@ var StringSelectMenuBuilder = class extends BaseSelectMenuBuilder {
1351
1416
  };
1352
1417
 
1353
1418
  // src/components/selectMenu/UserSelectMenu.ts
1354
- var import_v1010 = require("discord-api-types/v10");
1419
+ var import_v1011 = require("discord-api-types/v10");
1355
1420
  var UserSelectMenuBuilder = class extends BaseSelectMenuBuilder {
1356
1421
  static {
1357
1422
  __name(this, "UserSelectMenuBuilder");
@@ -1379,7 +1444,7 @@ var UserSelectMenuBuilder = class extends BaseSelectMenuBuilder {
1379
1444
  * ```
1380
1445
  */
1381
1446
  constructor(data) {
1382
- super({ ...data, type: import_v1010.ComponentType.UserSelect });
1447
+ super({ ...data, type: import_v1011.ComponentType.UserSelect });
1383
1448
  }
1384
1449
  /**
1385
1450
  * Adds default users to this auto populated select menu.
@@ -1393,7 +1458,7 @@ var UserSelectMenuBuilder = class extends BaseSelectMenuBuilder {
1393
1458
  this.data.default_values.push(
1394
1459
  ...normalizedValues.map((id) => ({
1395
1460
  id,
1396
- type: import_v1010.SelectMenuDefaultValueType.User
1461
+ type: import_v1011.SelectMenuDefaultValueType.User
1397
1462
  }))
1398
1463
  );
1399
1464
  return this;
@@ -1408,7 +1473,7 @@ var UserSelectMenuBuilder = class extends BaseSelectMenuBuilder {
1408
1473
  optionsLengthValidator.parse(normalizedValues.length);
1409
1474
  this.data.default_values = normalizedValues.map((id) => ({
1410
1475
  id,
1411
- type: import_v1010.SelectMenuDefaultValueType.User
1476
+ type: import_v1011.SelectMenuDefaultValueType.User
1412
1477
  }));
1413
1478
  return this;
1414
1479
  }
@@ -1416,7 +1481,7 @@ var UserSelectMenuBuilder = class extends BaseSelectMenuBuilder {
1416
1481
 
1417
1482
  // src/components/textInput/TextInput.ts
1418
1483
  var import_util = require("@discordjs/util");
1419
- var import_v1011 = require("discord-api-types/v10");
1484
+ var import_v1012 = require("discord-api-types/v10");
1420
1485
  var import_fast_deep_equal = __toESM(require("fast-deep-equal"));
1421
1486
  var TextInputBuilder = class extends ComponentBuilder {
1422
1487
  static {
@@ -1446,7 +1511,7 @@ var TextInputBuilder = class extends ComponentBuilder {
1446
1511
  * ```
1447
1512
  */
1448
1513
  constructor(data) {
1449
- super({ type: import_v1011.ComponentType.TextInput, ...data });
1514
+ super({ type: import_v1012.ComponentType.TextInput, ...data });
1450
1515
  }
1451
1516
  /**
1452
1517
  * Sets the custom id for this text input.
@@ -1542,67 +1607,12 @@ var TextInputBuilder = class extends ComponentBuilder {
1542
1607
  };
1543
1608
 
1544
1609
  // src/components/label/Assertions.ts
1545
- var Assertions_exports5 = {};
1546
- __export(Assertions_exports5, {
1610
+ var Assertions_exports6 = {};
1611
+ __export(Assertions_exports6, {
1547
1612
  labelPredicate: () => labelPredicate
1548
1613
  });
1549
1614
  var import_shapeshift6 = require("@sapphire/shapeshift");
1550
1615
  var import_v1013 = require("discord-api-types/v10");
1551
-
1552
- // src/components/selectMenu/Assertions.ts
1553
- var import_shapeshift5 = require("@sapphire/shapeshift");
1554
- var import_v1012 = require("discord-api-types/v10");
1555
- var selectMenuBasePredicate = import_shapeshift5.s.object({
1556
- id: idValidator.optional(),
1557
- placeholder: import_shapeshift5.s.string().lengthLessThanOrEqual(150).optional(),
1558
- min_values: import_shapeshift5.s.number().greaterThanOrEqual(0).lessThanOrEqual(25).optional(),
1559
- max_values: import_shapeshift5.s.number().greaterThanOrEqual(0).lessThanOrEqual(25).optional(),
1560
- custom_id: customIdValidator,
1561
- disabled: import_shapeshift5.s.boolean().optional()
1562
- });
1563
- var selectMenuChannelPredicate = selectMenuBasePredicate.extend({
1564
- type: import_shapeshift5.s.literal(import_v1012.ComponentType.ChannelSelect),
1565
- channel_types: import_shapeshift5.s.nativeEnum(import_v1012.ChannelType).array().optional(),
1566
- default_values: import_shapeshift5.s.object({ id: import_shapeshift5.s.string(), type: import_shapeshift5.s.literal(import_v1012.SelectMenuDefaultValueType.Channel) }).array().lengthLessThanOrEqual(25).optional()
1567
- }).setValidationEnabled(isValidationEnabled);
1568
- var selectMenuMentionablePredicate = selectMenuBasePredicate.extend({
1569
- type: import_shapeshift5.s.literal(import_v1012.ComponentType.MentionableSelect),
1570
- default_values: import_shapeshift5.s.object({
1571
- id: import_shapeshift5.s.string(),
1572
- type: import_shapeshift5.s.union([import_shapeshift5.s.literal(import_v1012.SelectMenuDefaultValueType.Role), import_shapeshift5.s.literal(import_v1012.SelectMenuDefaultValueType.User)])
1573
- }).array().lengthLessThanOrEqual(25).optional()
1574
- }).setValidationEnabled(isValidationEnabled);
1575
- var selectMenuRolePredicate = selectMenuBasePredicate.extend({
1576
- type: import_shapeshift5.s.literal(import_v1012.ComponentType.RoleSelect),
1577
- default_values: import_shapeshift5.s.object({ id: import_shapeshift5.s.string(), type: import_shapeshift5.s.literal(import_v1012.SelectMenuDefaultValueType.Role) }).array().lengthLessThanOrEqual(25).optional()
1578
- }).setValidationEnabled(isValidationEnabled);
1579
- var selectMenuUserPredicate = selectMenuBasePredicate.extend({
1580
- type: import_shapeshift5.s.literal(import_v1012.ComponentType.UserSelect),
1581
- default_values: import_shapeshift5.s.object({ id: import_shapeshift5.s.string(), type: import_shapeshift5.s.literal(import_v1012.SelectMenuDefaultValueType.User) }).array().lengthLessThanOrEqual(25).optional()
1582
- }).setValidationEnabled(isValidationEnabled);
1583
- var selectMenuStringOptionPredicate = import_shapeshift5.s.object({
1584
- label: labelValidator,
1585
- value: import_shapeshift5.s.string().lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100),
1586
- description: import_shapeshift5.s.string().lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100).optional(),
1587
- emoji: emojiValidator.optional(),
1588
- default: import_shapeshift5.s.boolean().optional()
1589
- }).setValidationEnabled(isValidationEnabled);
1590
- var selectMenuStringPredicate = selectMenuBasePredicate.extend({
1591
- type: import_shapeshift5.s.literal(import_v1012.ComponentType.StringSelect),
1592
- options: selectMenuStringOptionPredicate.array().lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(25)
1593
- }).reshape((value) => {
1594
- if (value.min_values !== void 0 && value.options.length < value.min_values) {
1595
- return import_shapeshift5.Result.err(new RangeError(`The number of options must be greater than or equal to min_values`));
1596
- }
1597
- if (value.min_values !== void 0 && value.max_values !== void 0 && value.min_values > value.max_values) {
1598
- return import_shapeshift5.Result.err(
1599
- new RangeError(`The maximum amount of options must be greater than or equal to the minimum amount of options`)
1600
- );
1601
- }
1602
- return import_shapeshift5.Result.ok(value);
1603
- }).setValidationEnabled(isValidationEnabled);
1604
-
1605
- // src/components/label/Assertions.ts
1606
1616
  var labelPredicate = import_shapeshift6.s.object({
1607
1617
  id: idValidator.optional(),
1608
1618
  type: import_shapeshift6.s.literal(import_v1013.ComponentType.Label),
@@ -1765,8 +1775,8 @@ var LabelBuilder = class extends ComponentBuilder {
1765
1775
  var import_v1020 = require("discord-api-types/v10");
1766
1776
 
1767
1777
  // src/components/v2/Assertions.ts
1768
- var Assertions_exports6 = {};
1769
- __export(Assertions_exports6, {
1778
+ var Assertions_exports7 = {};
1779
+ __export(Assertions_exports7, {
1770
1780
  accessoryPredicate: () => accessoryPredicate,
1771
1781
  assertReturnOfBuilder: () => assertReturnOfBuilder,
1772
1782
  containerColorPredicate: () => containerColorPredicate,
@@ -2102,7 +2112,8 @@ var ContainerBuilder = class extends ComponentBuilder {
2102
2112
  * },
2103
2113
  * ],
2104
2114
  * })
2105
- * .addComponents(separator, section);
2115
+ * .addSeparatorComponents(separator)
2116
+ * .addSectionComponents(section);
2106
2117
  * ```
2107
2118
  */
2108
2119
  constructor({ components, ...data } = {}) {
@@ -2667,8 +2678,8 @@ var ActionRowBuilder = class extends ComponentBuilder {
2667
2678
  var import_v1025 = require("discord-api-types/v10");
2668
2679
 
2669
2680
  // src/interactions/modals/Assertions.ts
2670
- var Assertions_exports7 = {};
2671
- __export(Assertions_exports7, {
2681
+ var Assertions_exports8 = {};
2682
+ __export(Assertions_exports8, {
2672
2683
  componentsValidator: () => componentsValidator,
2673
2684
  titleValidator: () => titleValidator,
2674
2685
  validateRequiredParameters: () => validateRequiredParameters2
@@ -2860,8 +2871,8 @@ var ModalBuilder = class {
2860
2871
  };
2861
2872
 
2862
2873
  // src/interactions/slashCommands/Assertions.ts
2863
- var Assertions_exports8 = {};
2864
- __export(Assertions_exports8, {
2874
+ var Assertions_exports9 = {};
2875
+ __export(Assertions_exports9, {
2865
2876
  assertReturnOfBuilder: () => assertReturnOfBuilder2,
2866
2877
  contextsPredicate: () => contextsPredicate,
2867
2878
  integrationTypesPredicate: () => integrationTypesPredicate,
@@ -3913,8 +3924,8 @@ SlashCommandBuilder = __decorateClass([
3913
3924
  ], SlashCommandBuilder);
3914
3925
 
3915
3926
  // src/interactions/contextMenuCommands/Assertions.ts
3916
- var Assertions_exports9 = {};
3917
- __export(Assertions_exports9, {
3927
+ var Assertions_exports10 = {};
3928
+ __export(Assertions_exports10, {
3918
3929
  contextsPredicate: () => contextsPredicate2,
3919
3930
  integrationTypesPredicate: () => integrationTypesPredicate2,
3920
3931
  validateDMPermission: () => validateDMPermission2,
@@ -4145,7 +4156,7 @@ function embedLength(data) {
4145
4156
  __name(embedLength, "embedLength");
4146
4157
 
4147
4158
  // src/index.ts
4148
- var version = "1.13.0";
4159
+ var version = "1.13.1";
4149
4160
  // Annotate the CommonJS export names for ESM import in node:
4150
4161
  0 && (module.exports = {
4151
4162
  ActionRowBuilder,
@@ -4177,6 +4188,7 @@ var version = "1.13.0";
4177
4188
  ModalBuilder,
4178
4189
  RoleSelectMenuBuilder,
4179
4190
  SectionBuilder,
4191
+ SelectMenuAssertions,
4180
4192
  SelectMenuBuilder,
4181
4193
  SelectMenuOptionBuilder,
4182
4194
  SeparatorBuilder,