@discordjs/builders 1.8.2-dev.1715645415-c2432d570 → 1.8.2-dev.1715861072-92c1a511d

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 CHANGED
@@ -1217,6 +1217,13 @@ declare class SharedSlashCommand {
1217
1217
  readonly description: string;
1218
1218
  readonly description_localizations?: LocalizationMap;
1219
1219
  readonly options: ToAPIApplicationCommandOptions[];
1220
+ /**
1221
+ * @deprecated Use {@link SharedSlashCommand.setDefaultMemberPermissions} or {@link SharedSlashCommand.setDMPermission} instead.
1222
+ */
1223
+ readonly default_permission: boolean | undefined;
1224
+ readonly default_member_permissions: Permissions | null | undefined;
1225
+ readonly dm_permission: boolean | undefined;
1226
+ readonly nsfw: boolean | undefined;
1220
1227
  /**
1221
1228
  * Sets whether the command is enabled by default when the application is added to a guild.
1222
1229
  *
package/dist/index.d.ts CHANGED
@@ -1217,6 +1217,13 @@ declare class SharedSlashCommand {
1217
1217
  readonly description: string;
1218
1218
  readonly description_localizations?: LocalizationMap;
1219
1219
  readonly options: ToAPIApplicationCommandOptions[];
1220
+ /**
1221
+ * @deprecated Use {@link SharedSlashCommand.setDefaultMemberPermissions} or {@link SharedSlashCommand.setDMPermission} instead.
1222
+ */
1223
+ readonly default_permission: boolean | undefined;
1224
+ readonly default_member_permissions: Permissions | null | undefined;
1225
+ readonly dm_permission: boolean | undefined;
1226
+ readonly nsfw: boolean | undefined;
1220
1227
  /**
1221
1228
  * Sets whether the command is enabled by default when the application is added to a guild.
1222
1229
  *
package/dist/index.js CHANGED
@@ -1770,6 +1770,13 @@ var SharedSlashCommand = class {
1770
1770
  description = void 0;
1771
1771
  description_localizations;
1772
1772
  options = [];
1773
+ /**
1774
+ * @deprecated Use {@link SharedSlashCommand.setDefaultMemberPermissions} or {@link SharedSlashCommand.setDMPermission} instead.
1775
+ */
1776
+ default_permission = void 0;
1777
+ default_member_permissions = void 0;
1778
+ dm_permission = void 0;
1779
+ nsfw = void 0;
1773
1780
  /**
1774
1781
  * Sets whether the command is enabled by default when the application is added to a guild.
1775
1782
  *
@@ -2753,7 +2760,7 @@ function embedLength(data) {
2753
2760
  __name(embedLength, "embedLength");
2754
2761
 
2755
2762
  // src/index.ts
2756
- var version = "1.8.2-dev.1715645415-c2432d570";
2763
+ var version = "1.8.2-dev.1715861072-92c1a511d";
2757
2764
  // Annotate the CommonJS export names for ESM import in node:
2758
2765
  0 && (module.exports = {
2759
2766
  ActionRowBuilder,