@discordjs/builders 0.14.0-dev.1652918990-adf461b → 0.14.0-dev.1654344260-a45bef4
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.ts +3 -3
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +16 -16
package/dist/index.d.ts
CHANGED
|
@@ -1160,7 +1160,7 @@ declare class SlashCommandBuilder {
|
|
|
1160
1160
|
* Indicates whether the command is available in DMs with the application, only for globally-scoped commands.
|
|
1161
1161
|
* By default, commands are visible.
|
|
1162
1162
|
*/
|
|
1163
|
-
readonly dm_permission: boolean |
|
|
1163
|
+
readonly dm_permission: boolean | undefined;
|
|
1164
1164
|
/**
|
|
1165
1165
|
* Returns the final data that should be sent to Discord.
|
|
1166
1166
|
*
|
|
@@ -1319,7 +1319,7 @@ declare class ContextMenuCommandBuilder {
|
|
|
1319
1319
|
* Indicates whether the command is available in DMs with the application, only for globally-scoped commands.
|
|
1320
1320
|
* By default, commands are visible.
|
|
1321
1321
|
*/
|
|
1322
|
-
readonly dm_permission: boolean |
|
|
1322
|
+
readonly dm_permission: boolean | undefined;
|
|
1323
1323
|
/**
|
|
1324
1324
|
* Sets the name
|
|
1325
1325
|
*
|
|
@@ -1422,4 +1422,4 @@ declare function isEquatable(maybeEquatable: unknown): maybeEquatable is Equatab
|
|
|
1422
1422
|
|
|
1423
1423
|
declare function embedLength(data: APIEmbed): number;
|
|
1424
1424
|
|
|
1425
|
-
export { ActionRowBuilder, AnyAPIActionRowComponent, AnyComponentBuilder, ButtonBuilder, Assertions$4 as ComponentAssertions, ComponentBuilder, Assertions as ContextMenuCommandAssertions, ContextMenuCommandBuilder, ContextMenuCommandType, Assertions$5 as EmbedAssertions, EmbedAuthorData, EmbedAuthorOptions, EmbedBuilder, EmbedFooterData, EmbedFooterOptions, EmbedImageData, Equatable, Faces, IconData, JSONEncodable, MappedComponentTypes, MessageActionRowComponentBuilder, MessageComponentBuilder, ModalActionRowComponentBuilder, Assertions$2 as ModalAssertions, ModalBuilder, ModalComponentBuilder, RGBTuple, SelectMenuBuilder, SelectMenuOptionBuilder, Assertions$1 as SlashCommandAssertions, SlashCommandAttachmentOption, SlashCommandBooleanOption, SlashCommandBuilder, SlashCommandChannelOption, SlashCommandIntegerOption, SlashCommandMentionableOption, SlashCommandNumberOption, SlashCommandOptionsOnlyBuilder, SlashCommandRoleOption, SlashCommandStringOption, SlashCommandSubcommandBuilder, SlashCommandSubcommandGroupBuilder, SlashCommandSubcommandsOnlyBuilder, SlashCommandUserOption, Assertions$3 as TextInputAssertions, TextInputBuilder, TimestampStyles, TimestampStylesString, ToAPIApplicationCommandOptions, UnsafeButtonBuilder, UnsafeEmbedBuilder, UnsafeModalBuilder, UnsafeSelectMenuBuilder, UnsafeSelectMenuOptionBuilder, UnsafeTextInputBuilder, blockQuote, bold, channelMention, codeBlock, createComponentBuilder, embedLength, formatEmoji, hideLinkEmbed, hyperlink, inlineCode, isEquatable, isJSONEncodable, italic, quote, roleMention, spoiler, strikethrough, time, underscore, userMention };
|
|
1425
|
+
export { ActionRowBuilder, AnyAPIActionRowComponent, AnyComponentBuilder, ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionAllowedChannelTypes, ApplicationCommandOptionBase, ApplicationCommandOptionChannelTypesMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin, ButtonBuilder, Assertions$4 as ComponentAssertions, ComponentBuilder, Assertions as ContextMenuCommandAssertions, ContextMenuCommandBuilder, ContextMenuCommandType, Assertions$5 as EmbedAssertions, EmbedAuthorData, EmbedAuthorOptions, EmbedBuilder, EmbedFooterData, EmbedFooterOptions, EmbedImageData, Equatable, Faces, IconData, JSONEncodable, MappedComponentTypes, MessageActionRowComponentBuilder, MessageComponentBuilder, ModalActionRowComponentBuilder, Assertions$2 as ModalAssertions, ModalBuilder, ModalComponentBuilder, RGBTuple, SelectMenuBuilder, SelectMenuOptionBuilder, SharedNameAndDescription, SharedSlashCommandOptions, Assertions$1 as SlashCommandAssertions, SlashCommandAttachmentOption, SlashCommandBooleanOption, SlashCommandBuilder, SlashCommandChannelOption, SlashCommandIntegerOption, SlashCommandMentionableOption, SlashCommandNumberOption, SlashCommandOptionsOnlyBuilder, SlashCommandRoleOption, SlashCommandStringOption, SlashCommandSubcommandBuilder, SlashCommandSubcommandGroupBuilder, SlashCommandSubcommandsOnlyBuilder, SlashCommandUserOption, Assertions$3 as TextInputAssertions, TextInputBuilder, TimestampStyles, TimestampStylesString, ToAPIApplicationCommandOptions, UnsafeButtonBuilder, UnsafeEmbedBuilder, UnsafeModalBuilder, UnsafeSelectMenuBuilder, UnsafeSelectMenuOptionBuilder, UnsafeTextInputBuilder, blockQuote, bold, channelMention, codeBlock, createComponentBuilder, embedLength, formatEmoji, hideLinkEmbed, hyperlink, inlineCode, isEquatable, isJSONEncodable, italic, quote, roleMention, spoiler, strikethrough, time, underscore, userMention };
|
package/dist/index.js
CHANGED
|
@@ -39,6 +39,10 @@ var __publicField = (obj, key, value) => {
|
|
|
39
39
|
var src_exports = {};
|
|
40
40
|
__export(src_exports, {
|
|
41
41
|
ActionRowBuilder: () => ActionRowBuilder,
|
|
42
|
+
ApplicationCommandNumericOptionMinMaxValueMixin: () => ApplicationCommandNumericOptionMinMaxValueMixin,
|
|
43
|
+
ApplicationCommandOptionBase: () => ApplicationCommandOptionBase,
|
|
44
|
+
ApplicationCommandOptionChannelTypesMixin: () => ApplicationCommandOptionChannelTypesMixin,
|
|
45
|
+
ApplicationCommandOptionWithChoicesAndAutocompleteMixin: () => ApplicationCommandOptionWithChoicesAndAutocompleteMixin,
|
|
42
46
|
ButtonBuilder: () => ButtonBuilder,
|
|
43
47
|
ComponentAssertions: () => Assertions_exports2,
|
|
44
48
|
ComponentBuilder: () => ComponentBuilder,
|
|
@@ -51,6 +55,8 @@ __export(src_exports, {
|
|
|
51
55
|
ModalBuilder: () => ModalBuilder,
|
|
52
56
|
SelectMenuBuilder: () => SelectMenuBuilder,
|
|
53
57
|
SelectMenuOptionBuilder: () => SelectMenuOptionBuilder,
|
|
58
|
+
SharedNameAndDescription: () => SharedNameAndDescription,
|
|
59
|
+
SharedSlashCommandOptions: () => SharedSlashCommandOptions,
|
|
54
60
|
SlashCommandAssertions: () => Assertions_exports5,
|
|
55
61
|
SlashCommandAttachmentOption: () => SlashCommandAttachmentOption,
|
|
56
62
|
SlashCommandBooleanOption: () => SlashCommandBooleanOption,
|
|
@@ -1614,6 +1620,10 @@ __name(embedLength, "embedLength");
|
|
|
1614
1620
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1615
1621
|
0 && (module.exports = {
|
|
1616
1622
|
ActionRowBuilder,
|
|
1623
|
+
ApplicationCommandNumericOptionMinMaxValueMixin,
|
|
1624
|
+
ApplicationCommandOptionBase,
|
|
1625
|
+
ApplicationCommandOptionChannelTypesMixin,
|
|
1626
|
+
ApplicationCommandOptionWithChoicesAndAutocompleteMixin,
|
|
1617
1627
|
ButtonBuilder,
|
|
1618
1628
|
ComponentAssertions,
|
|
1619
1629
|
ComponentBuilder,
|
|
@@ -1626,6 +1636,8 @@ __name(embedLength, "embedLength");
|
|
|
1626
1636
|
ModalBuilder,
|
|
1627
1637
|
SelectMenuBuilder,
|
|
1628
1638
|
SelectMenuOptionBuilder,
|
|
1639
|
+
SharedNameAndDescription,
|
|
1640
|
+
SharedSlashCommandOptions,
|
|
1629
1641
|
SlashCommandAssertions,
|
|
1630
1642
|
SlashCommandAttachmentOption,
|
|
1631
1643
|
SlashCommandBooleanOption,
|