@discordjs/builders 0.14.0-dev.1652443433-d522320 → 0.14.0-dev.1652573539-7ce641d
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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _sapphire_shapeshift from '@sapphire/shapeshift';
|
|
2
|
-
import { APIEmbedField, APIEmbedAuthor, APIEmbedFooter, APIEmbedImage, APIEmbed, APISelectMenuOption, APIMessageComponentEmoji, ButtonStyle, APIActionRowComponentTypes, APIActionRowComponent, APIBaseComponent, ComponentType, APIMessageActionRowComponent, APIModalActionRowComponent, APIButtonComponent, APIMessageComponent, APIModalComponent, APITextInputComponent, TextInputStyle, APIModalInteractionResponseCallbackData, APISelectMenuComponent, LocalizationMap, LocaleString, ApplicationCommandOptionType, APIApplicationCommandBasicOption, APIApplicationCommandAttachmentOption, APIApplicationCommandBooleanOption, ChannelType, APIApplicationCommandChannelOption, APIApplicationCommandOptionChoice, APIApplicationCommandIntegerOption, APIApplicationCommandMentionableOption, APIApplicationCommandNumberOption, APIApplicationCommandRoleOption, APIApplicationCommandStringOption, APIApplicationCommandUserOption, APIApplicationCommandSubcommandGroupOption, APIApplicationCommandSubcommandOption, RESTPostAPIApplicationCommandsJSONBody, APIApplicationCommandOption, Locale,
|
|
2
|
+
import { APIEmbedField, APIEmbedAuthor, APIEmbedFooter, APIEmbedImage, APIEmbed, APISelectMenuOption, APIMessageComponentEmoji, ButtonStyle, APIActionRowComponentTypes, APIActionRowComponent, APIBaseComponent, ComponentType, APIMessageActionRowComponent, APIModalActionRowComponent, APIButtonComponent, APIMessageComponent, APIModalComponent, APITextInputComponent, TextInputStyle, APIModalInteractionResponseCallbackData, APISelectMenuComponent, LocalizationMap, LocaleString, ApplicationCommandOptionType, APIApplicationCommandBasicOption, APIApplicationCommandAttachmentOption, APIApplicationCommandBooleanOption, ChannelType, APIApplicationCommandChannelOption, APIApplicationCommandOptionChoice, APIApplicationCommandIntegerOption, APIApplicationCommandMentionableOption, APIApplicationCommandNumberOption, APIApplicationCommandRoleOption, APIApplicationCommandStringOption, APIApplicationCommandUserOption, APIApplicationCommandSubcommandGroupOption, APIApplicationCommandSubcommandOption, Permissions, RESTPostAPIApplicationCommandsJSONBody, APIApplicationCommandOption, Locale, ApplicationCommandType } from 'discord-api-types/v10';
|
|
3
3
|
import { URL } from 'url';
|
|
4
4
|
import { Snowflake } from 'discord-api-types/globals';
|
|
5
5
|
|
|
@@ -1187,7 +1187,7 @@ declare class SlashCommandBuilder {
|
|
|
1187
1187
|
*
|
|
1188
1188
|
* @see https://discord.com/developers/docs/interactions/application-commands#permissions
|
|
1189
1189
|
*/
|
|
1190
|
-
setDefaultMemberPermissions(permissions: Permissions | null | undefined): this;
|
|
1190
|
+
setDefaultMemberPermissions(permissions: Permissions | bigint | number | null | undefined): this;
|
|
1191
1191
|
/**
|
|
1192
1192
|
* Sets if the command is available in DMs with the application, only for globally-scoped commands.
|
|
1193
1193
|
* By default, commands are visible.
|
|
@@ -1314,7 +1314,7 @@ declare class ContextMenuCommandBuilder {
|
|
|
1314
1314
|
/**
|
|
1315
1315
|
* Set of permissions represented as a bit set for the command
|
|
1316
1316
|
*/
|
|
1317
|
-
readonly default_member_permissions: Permissions
|
|
1317
|
+
readonly default_member_permissions: Permissions | null | undefined;
|
|
1318
1318
|
/**
|
|
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.
|
|
@@ -1352,7 +1352,7 @@ declare class ContextMenuCommandBuilder {
|
|
|
1352
1352
|
*
|
|
1353
1353
|
* @see https://discord.com/developers/docs/interactions/application-commands#permissions
|
|
1354
1354
|
*/
|
|
1355
|
-
setDefaultMemberPermissions(permissions: Permissions
|
|
1355
|
+
setDefaultMemberPermissions(permissions: Permissions | bigint | number | null | undefined): this;
|
|
1356
1356
|
/**
|
|
1357
1357
|
* Sets if the command is available in DMs with the application, only for globally-scoped commands.
|
|
1358
1358
|
* By default, commands are visible.
|