@discordjs/builders 1.14.0 → 1.14.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.d.mts CHANGED
@@ -1194,7 +1194,7 @@ declare class CheckboxGroupBuilder extends ComponentBuilder<APICheckboxGroupComp
1194
1194
  *
1195
1195
  * @param options - The options to use
1196
1196
  */
1197
- setOptions(options: RestOrArray<APICheckboxGroupOption | CheckboxGroupOptionBuilder>): this;
1197
+ setOptions(...options: RestOrArray<APICheckboxGroupOption | CheckboxGroupOptionBuilder>): this;
1198
1198
  /**
1199
1199
  * Removes, replaces, or inserts options for this checkbox group.
1200
1200
  *
@@ -1339,7 +1339,7 @@ declare class RadioGroupBuilder extends ComponentBuilder<APIRadioGroupComponent>
1339
1339
  *
1340
1340
  * @param options - The options to use
1341
1341
  */
1342
- setOptions(options: RestOrArray<APIRadioGroupOption | RadioGroupOptionBuilder>): this;
1342
+ setOptions(...options: RestOrArray<APIRadioGroupOption | RadioGroupOptionBuilder>): this;
1343
1343
  /**
1344
1344
  * Removes, replaces, or inserts options for this radio group.
1345
1345
  *
package/dist/index.d.ts CHANGED
@@ -1194,7 +1194,7 @@ declare class CheckboxGroupBuilder extends ComponentBuilder<APICheckboxGroupComp
1194
1194
  *
1195
1195
  * @param options - The options to use
1196
1196
  */
1197
- setOptions(options: RestOrArray<APICheckboxGroupOption | CheckboxGroupOptionBuilder>): this;
1197
+ setOptions(...options: RestOrArray<APICheckboxGroupOption | CheckboxGroupOptionBuilder>): this;
1198
1198
  /**
1199
1199
  * Removes, replaces, or inserts options for this checkbox group.
1200
1200
  *
@@ -1339,7 +1339,7 @@ declare class RadioGroupBuilder extends ComponentBuilder<APIRadioGroupComponent>
1339
1339
  *
1340
1340
  * @param options - The options to use
1341
1341
  */
1342
- setOptions(options: RestOrArray<APIRadioGroupOption | RadioGroupOptionBuilder>): this;
1342
+ setOptions(...options: RestOrArray<APIRadioGroupOption | RadioGroupOptionBuilder>): this;
1343
1343
  /**
1344
1344
  * Removes, replaces, or inserts options for this radio group.
1345
1345
  *
package/dist/index.js CHANGED
@@ -1047,7 +1047,7 @@ var CheckboxGroupBuilder = class extends ComponentBuilder {
1047
1047
  *
1048
1048
  * @param options - The options to use
1049
1049
  */
1050
- setOptions(options) {
1050
+ setOptions(...options) {
1051
1051
  return this.spliceOptions(0, this.options.length, ...options);
1052
1052
  }
1053
1053
  /**
@@ -1266,7 +1266,7 @@ var RadioGroupBuilder = class extends ComponentBuilder {
1266
1266
  *
1267
1267
  * @param options - The options to use
1268
1268
  */
1269
- setOptions(options) {
1269
+ setOptions(...options) {
1270
1270
  return this.spliceOptions(0, this.options.length, ...options);
1271
1271
  }
1272
1272
  /**
@@ -4755,7 +4755,7 @@ function embedLength(data) {
4755
4755
  __name(embedLength, "embedLength");
4756
4756
 
4757
4757
  // src/index.ts
4758
- var version = "1.14.0";
4758
+ var version = "1.14.1";
4759
4759
  // Annotate the CommonJS export names for ESM import in node:
4760
4760
  0 && (module.exports = {
4761
4761
  ActionRowBuilder,