@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.d.mts
CHANGED
|
@@ -613,7 +613,7 @@ declare class ChannelSelectMenuBuilder extends BaseSelectMenuBuilder<APIChannelS
|
|
|
613
613
|
*/
|
|
614
614
|
addDefaultChannels(...channels: RestOrArray<Snowflake>): this;
|
|
615
615
|
/**
|
|
616
|
-
* Sets default channels
|
|
616
|
+
* Sets default channels for this auto populated select menu.
|
|
617
617
|
*
|
|
618
618
|
* @param channels - The channels to set
|
|
619
619
|
*/
|
|
@@ -670,7 +670,7 @@ declare class MentionableSelectMenuBuilder extends BaseSelectMenuBuilder<APIMent
|
|
|
670
670
|
*/
|
|
671
671
|
addDefaultValues(...values: RestOrArray<APISelectMenuDefaultValue<SelectMenuDefaultValueType.Role> | APISelectMenuDefaultValue<SelectMenuDefaultValueType.User>>): this;
|
|
672
672
|
/**
|
|
673
|
-
* Sets default values
|
|
673
|
+
* Sets default values for this auto populated select menu.
|
|
674
674
|
*
|
|
675
675
|
* @param values - The values to set
|
|
676
676
|
*/
|
|
@@ -711,7 +711,7 @@ declare class RoleSelectMenuBuilder extends BaseSelectMenuBuilder<APIRoleSelectC
|
|
|
711
711
|
*/
|
|
712
712
|
addDefaultRoles(...roles: RestOrArray<Snowflake>): this;
|
|
713
713
|
/**
|
|
714
|
-
* Sets default roles
|
|
714
|
+
* Sets default roles for this auto populated select menu.
|
|
715
715
|
*
|
|
716
716
|
* @param roles - The roles to set
|
|
717
717
|
*/
|
|
@@ -838,7 +838,7 @@ declare class UserSelectMenuBuilder extends BaseSelectMenuBuilder<APIUserSelectC
|
|
|
838
838
|
*/
|
|
839
839
|
addDefaultUsers(...users: RestOrArray<Snowflake>): this;
|
|
840
840
|
/**
|
|
841
|
-
* Sets default users
|
|
841
|
+
* Sets default users for this auto populated select menu.
|
|
842
842
|
*
|
|
843
843
|
* @param users - The users to set
|
|
844
844
|
*/
|
|
@@ -854,16 +854,16 @@ declare class TextInputBuilder extends ComponentBuilder<APITextInputComponent> i
|
|
|
854
854
|
*
|
|
855
855
|
* @param data - The API data to create this text input with
|
|
856
856
|
* @example
|
|
857
|
-
* Creating a
|
|
857
|
+
* Creating a text input from an API data object:
|
|
858
858
|
* ```ts
|
|
859
859
|
* const textInput = new TextInputBuilder({
|
|
860
|
-
* custom_id: 'a cool
|
|
860
|
+
* custom_id: 'a cool text input',
|
|
861
861
|
* label: 'Type something',
|
|
862
862
|
* style: TextInputStyle.Short,
|
|
863
863
|
* });
|
|
864
864
|
* ```
|
|
865
865
|
* @example
|
|
866
|
-
* Creating a
|
|
866
|
+
* Creating a text input using setters and API data:
|
|
867
867
|
* ```ts
|
|
868
868
|
* const textInput = new TextInputBuilder({
|
|
869
869
|
* label: 'Type something else',
|
package/dist/index.d.ts
CHANGED
|
@@ -613,7 +613,7 @@ declare class ChannelSelectMenuBuilder extends BaseSelectMenuBuilder<APIChannelS
|
|
|
613
613
|
*/
|
|
614
614
|
addDefaultChannels(...channels: RestOrArray<Snowflake>): this;
|
|
615
615
|
/**
|
|
616
|
-
* Sets default channels
|
|
616
|
+
* Sets default channels for this auto populated select menu.
|
|
617
617
|
*
|
|
618
618
|
* @param channels - The channels to set
|
|
619
619
|
*/
|
|
@@ -670,7 +670,7 @@ declare class MentionableSelectMenuBuilder extends BaseSelectMenuBuilder<APIMent
|
|
|
670
670
|
*/
|
|
671
671
|
addDefaultValues(...values: RestOrArray<APISelectMenuDefaultValue<SelectMenuDefaultValueType.Role> | APISelectMenuDefaultValue<SelectMenuDefaultValueType.User>>): this;
|
|
672
672
|
/**
|
|
673
|
-
* Sets default values
|
|
673
|
+
* Sets default values for this auto populated select menu.
|
|
674
674
|
*
|
|
675
675
|
* @param values - The values to set
|
|
676
676
|
*/
|
|
@@ -711,7 +711,7 @@ declare class RoleSelectMenuBuilder extends BaseSelectMenuBuilder<APIRoleSelectC
|
|
|
711
711
|
*/
|
|
712
712
|
addDefaultRoles(...roles: RestOrArray<Snowflake>): this;
|
|
713
713
|
/**
|
|
714
|
-
* Sets default roles
|
|
714
|
+
* Sets default roles for this auto populated select menu.
|
|
715
715
|
*
|
|
716
716
|
* @param roles - The roles to set
|
|
717
717
|
*/
|
|
@@ -838,7 +838,7 @@ declare class UserSelectMenuBuilder extends BaseSelectMenuBuilder<APIUserSelectC
|
|
|
838
838
|
*/
|
|
839
839
|
addDefaultUsers(...users: RestOrArray<Snowflake>): this;
|
|
840
840
|
/**
|
|
841
|
-
* Sets default users
|
|
841
|
+
* Sets default users for this auto populated select menu.
|
|
842
842
|
*
|
|
843
843
|
* @param users - The users to set
|
|
844
844
|
*/
|
|
@@ -854,16 +854,16 @@ declare class TextInputBuilder extends ComponentBuilder<APITextInputComponent> i
|
|
|
854
854
|
*
|
|
855
855
|
* @param data - The API data to create this text input with
|
|
856
856
|
* @example
|
|
857
|
-
* Creating a
|
|
857
|
+
* Creating a text input from an API data object:
|
|
858
858
|
* ```ts
|
|
859
859
|
* const textInput = new TextInputBuilder({
|
|
860
|
-
* custom_id: 'a cool
|
|
860
|
+
* custom_id: 'a cool text input',
|
|
861
861
|
* label: 'Type something',
|
|
862
862
|
* style: TextInputStyle.Short,
|
|
863
863
|
* });
|
|
864
864
|
* ```
|
|
865
865
|
* @example
|
|
866
|
-
* Creating a
|
|
866
|
+
* Creating a text input using setters and API data:
|
|
867
867
|
* ```ts
|
|
868
868
|
* const textInput = new TextInputBuilder({
|
|
869
869
|
* label: 'Type something else',
|
package/dist/index.js
CHANGED
|
@@ -841,7 +841,7 @@ var ChannelSelectMenuBuilder = class extends BaseSelectMenuBuilder {
|
|
|
841
841
|
return this;
|
|
842
842
|
}
|
|
843
843
|
/**
|
|
844
|
-
* Sets default channels
|
|
844
|
+
* Sets default channels for this auto populated select menu.
|
|
845
845
|
*
|
|
846
846
|
* @param channels - The channels to set
|
|
847
847
|
*/
|
|
@@ -943,7 +943,7 @@ var MentionableSelectMenuBuilder = class extends BaseSelectMenuBuilder {
|
|
|
943
943
|
return this;
|
|
944
944
|
}
|
|
945
945
|
/**
|
|
946
|
-
* Sets default values
|
|
946
|
+
* Sets default values for this auto populated select menu.
|
|
947
947
|
*
|
|
948
948
|
* @param values - The values to set
|
|
949
949
|
*/
|
|
@@ -1004,7 +1004,7 @@ var RoleSelectMenuBuilder = class extends BaseSelectMenuBuilder {
|
|
|
1004
1004
|
return this;
|
|
1005
1005
|
}
|
|
1006
1006
|
/**
|
|
1007
|
-
* Sets default roles
|
|
1007
|
+
* Sets default roles for this auto populated select menu.
|
|
1008
1008
|
*
|
|
1009
1009
|
* @param roles - The roles to set
|
|
1010
1010
|
*/
|
|
@@ -1190,7 +1190,7 @@ var UserSelectMenuBuilder = class extends BaseSelectMenuBuilder {
|
|
|
1190
1190
|
return this;
|
|
1191
1191
|
}
|
|
1192
1192
|
/**
|
|
1193
|
-
* Sets default users
|
|
1193
|
+
* Sets default users for this auto populated select menu.
|
|
1194
1194
|
*
|
|
1195
1195
|
* @param users - The users to set
|
|
1196
1196
|
*/
|
|
@@ -1248,16 +1248,16 @@ var TextInputBuilder = class extends ComponentBuilder {
|
|
|
1248
1248
|
*
|
|
1249
1249
|
* @param data - The API data to create this text input with
|
|
1250
1250
|
* @example
|
|
1251
|
-
* Creating a
|
|
1251
|
+
* Creating a text input from an API data object:
|
|
1252
1252
|
* ```ts
|
|
1253
1253
|
* const textInput = new TextInputBuilder({
|
|
1254
|
-
* custom_id: 'a cool
|
|
1254
|
+
* custom_id: 'a cool text input',
|
|
1255
1255
|
* label: 'Type something',
|
|
1256
1256
|
* style: TextInputStyle.Short,
|
|
1257
1257
|
* });
|
|
1258
1258
|
* ```
|
|
1259
1259
|
* @example
|
|
1260
|
-
* Creating a
|
|
1260
|
+
* Creating a text input using setters and API data:
|
|
1261
1261
|
* ```ts
|
|
1262
1262
|
* const textInput = new TextInputBuilder({
|
|
1263
1263
|
* label: 'Type something else',
|
|
@@ -2760,7 +2760,7 @@ function embedLength(data) {
|
|
|
2760
2760
|
__name(embedLength, "embedLength");
|
|
2761
2761
|
|
|
2762
2762
|
// src/index.ts
|
|
2763
|
-
var version = "1.8.2
|
|
2763
|
+
var version = "1.8.2";
|
|
2764
2764
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2765
2765
|
0 && (module.exports = {
|
|
2766
2766
|
ActionRowBuilder,
|