@discordjs/builders 1.8.2-dev.1717114184-29a50bb47 → 1.8.2
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 +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -769,7 +769,7 @@ var ChannelSelectMenuBuilder = class extends BaseSelectMenuBuilder {
|
|
|
769
769
|
return this;
|
|
770
770
|
}
|
|
771
771
|
/**
|
|
772
|
-
* Sets default channels
|
|
772
|
+
* Sets default channels for this auto populated select menu.
|
|
773
773
|
*
|
|
774
774
|
* @param channels - The channels to set
|
|
775
775
|
*/
|
|
@@ -874,7 +874,7 @@ var MentionableSelectMenuBuilder = class extends BaseSelectMenuBuilder {
|
|
|
874
874
|
return this;
|
|
875
875
|
}
|
|
876
876
|
/**
|
|
877
|
-
* Sets default values
|
|
877
|
+
* Sets default values for this auto populated select menu.
|
|
878
878
|
*
|
|
879
879
|
* @param values - The values to set
|
|
880
880
|
*/
|
|
@@ -938,7 +938,7 @@ var RoleSelectMenuBuilder = class extends BaseSelectMenuBuilder {
|
|
|
938
938
|
return this;
|
|
939
939
|
}
|
|
940
940
|
/**
|
|
941
|
-
* Sets default roles
|
|
941
|
+
* Sets default roles for this auto populated select menu.
|
|
942
942
|
*
|
|
943
943
|
* @param roles - The roles to set
|
|
944
944
|
*/
|
|
@@ -1127,7 +1127,7 @@ var UserSelectMenuBuilder = class extends BaseSelectMenuBuilder {
|
|
|
1127
1127
|
return this;
|
|
1128
1128
|
}
|
|
1129
1129
|
/**
|
|
1130
|
-
* Sets default users
|
|
1130
|
+
* Sets default users for this auto populated select menu.
|
|
1131
1131
|
*
|
|
1132
1132
|
* @param users - The users to set
|
|
1133
1133
|
*/
|
|
@@ -1185,16 +1185,16 @@ var TextInputBuilder = class extends ComponentBuilder {
|
|
|
1185
1185
|
*
|
|
1186
1186
|
* @param data - The API data to create this text input with
|
|
1187
1187
|
* @example
|
|
1188
|
-
* Creating a
|
|
1188
|
+
* Creating a text input from an API data object:
|
|
1189
1189
|
* ```ts
|
|
1190
1190
|
* const textInput = new TextInputBuilder({
|
|
1191
|
-
* custom_id: 'a cool
|
|
1191
|
+
* custom_id: 'a cool text input',
|
|
1192
1192
|
* label: 'Type something',
|
|
1193
1193
|
* style: TextInputStyle.Short,
|
|
1194
1194
|
* });
|
|
1195
1195
|
* ```
|
|
1196
1196
|
* @example
|
|
1197
|
-
* Creating a
|
|
1197
|
+
* Creating a text input using setters and API data:
|
|
1198
1198
|
* ```ts
|
|
1199
1199
|
* const textInput = new TextInputBuilder({
|
|
1200
1200
|
* label: 'Type something else',
|
|
@@ -2699,7 +2699,7 @@ function embedLength(data) {
|
|
|
2699
2699
|
__name(embedLength, "embedLength");
|
|
2700
2700
|
|
|
2701
2701
|
// src/index.ts
|
|
2702
|
-
var version = "1.8.2
|
|
2702
|
+
var version = "1.8.2";
|
|
2703
2703
|
export {
|
|
2704
2704
|
ActionRowBuilder,
|
|
2705
2705
|
ApplicationCommandNumericOptionMinMaxValueMixin,
|