vimcord 1.0.53 → 1.0.54

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.cjs CHANGED
@@ -1787,7 +1787,7 @@ var VimcordErrorHandler = class {
1787
1787
  var import_chalk2 = __toESM(require("chalk"));
1788
1788
 
1789
1789
  // package.json
1790
- var version = "1.0.53";
1790
+ var version = "1.0.54";
1791
1791
 
1792
1792
  // src/client/vimcord.logger.ts
1793
1793
  var clientLoggerFactory = (client) => new Logger({ prefixEmoji: "\u26A1", prefix: `vimcord (i${client.clientId})` }).extend({
@@ -3649,7 +3649,8 @@ var BetterModal = class _BetterModal {
3649
3649
  addTextInput(data) {
3650
3650
  this.validateComponentLength();
3651
3651
  const customId = data.customId ?? this.createComponentId();
3652
- const textInput = new import_discord13.TextInputBuilder({ ...data, customId });
3652
+ const { label: _, ...textInputData } = data;
3653
+ const textInput = new import_discord13.TextInputBuilder({ style: import_discord13.TextInputStyle.Short, required: false, ...textInputData, customId });
3653
3654
  const label = this.createLabelComponent(data);
3654
3655
  label.setTextInputComponent(textInput);
3655
3656
  this.components.set(customId, { textInput: data });