discord.js 15.0.0-dev.1751371557-02fbb706a → 15.0.0-dev.1751501673-a5bd4cfe7

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "discord.js",
4
- "version": "15.0.0-dev.1751371557-02fbb706a",
4
+ "version": "15.0.0-dev.1751501673-a5bd4cfe7",
5
5
  "description": "A powerful library for interacting with the Discord API",
6
6
  "main": "./src/index.js",
7
7
  "types": "./typings/index.d.ts",
@@ -62,10 +62,10 @@
62
62
  "tslib": "^2.8.1",
63
63
  "undici": "7.8.0",
64
64
  "@discordjs/builders": "^1.11.1",
65
- "@discordjs/formatters": "^0.6.1",
66
65
  "@discordjs/rest": "^2.5.0",
67
- "@discordjs/util": "^1.1.1",
68
66
  "@discordjs/collection": "^2.1.1",
67
+ "@discordjs/formatters": "^0.6.1",
68
+ "@discordjs/util": "^1.1.1",
69
69
  "@discordjs/ws": "^2.0.2"
70
70
  },
71
71
  "devDependencies": {
@@ -579,7 +579,7 @@ class ApplicationCommand extends Base {
579
579
  * {@link ApplicationCommandOptionType.Number} option
580
580
  * @property {ApplicationCommandOptionChoice[]} [choices] The choices of the option for the user to pick from
581
581
  * @property {ApplicationCommandOption[]} [options] Additional options if this option is a subcommand (group)
582
- * @property {ApplicationCommandOptionAllowedChannelTypes[]} [channelTypes] When the option type is channel,
582
+ * @property {ApplicationCommandOptionAllowedChannelType[]} [channelTypes] When the option type is channel,
583
583
  * the allowed types of channels that can be selected
584
584
  * @property {number} [minValue] The minimum value for an {@link ApplicationCommandOptionType.Integer} or
585
585
  * {@link ApplicationCommandOptionType.Number} option
@@ -653,6 +653,6 @@ class ApplicationCommand extends Base {
653
653
  exports.ApplicationCommand = ApplicationCommand;
654
654
 
655
655
  /**
656
- * @external ApplicationCommandOptionAllowedChannelTypes
657
- * @see {@link https://discord.js.org/docs/packages/builders/stable/ApplicationCommandOptionAllowedChannelTypes:TypeAlias}
656
+ * @external ApplicationCommandOptionAllowedChannelType
657
+ * @see {@link https://discord.js.org/docs/packages/builders/stable/ApplicationCommandOptionAllowedChannelType:TypeAlias}
658
658
  */
@@ -2,7 +2,7 @@ import { Buffer } from 'node:buffer';
2
2
  import { ChildProcess } from 'node:child_process';
3
3
  import { Stream } from 'node:stream';
4
4
  import { MessagePort, Worker } from 'node:worker_threads';
5
- import { ApplicationCommandOptionAllowedChannelTypes, MessageActionRowComponentBuilder } from '@discordjs/builders';
5
+ import { ApplicationCommandOptionAllowedChannelType, MessageActionRowComponentBuilder } from '@discordjs/builders';
6
6
  import { Collection, ReadonlyCollection } from '@discordjs/collection';
7
7
  import { BaseImageURLOptions, ImageURLOptions, RawFile, REST, RESTOptions, EmojiURLOptions } from '@discordjs/rest';
8
8
  import { Awaitable, JSONEncodable } from '@discordjs/util';
@@ -4823,13 +4823,13 @@ export type ApplicationCommandData =
4823
4823
  | UserApplicationCommandData;
4824
4824
 
4825
4825
  export interface ApplicationCommandChannelOptionData extends BaseApplicationCommandOptionsData {
4826
- channelTypes?: readonly ApplicationCommandOptionAllowedChannelTypes[];
4827
- channel_types?: readonly ApplicationCommandOptionAllowedChannelTypes[];
4826
+ channelTypes?: readonly ApplicationCommandOptionAllowedChannelType[];
4827
+ channel_types?: readonly ApplicationCommandOptionAllowedChannelType[];
4828
4828
  type: CommandOptionChannelResolvableType;
4829
4829
  }
4830
4830
 
4831
4831
  export interface ApplicationCommandChannelOption extends BaseApplicationCommandOptionsData {
4832
- channelTypes?: readonly ApplicationCommandOptionAllowedChannelTypes[];
4832
+ channelTypes?: readonly ApplicationCommandOptionAllowedChannelType[];
4833
4833
  type: ApplicationCommandOptionType.Channel;
4834
4834
  }
4835
4835
 
@@ -2,7 +2,7 @@ import { Buffer } from 'node:buffer';
2
2
  import { ChildProcess } from 'node:child_process';
3
3
  import { Stream } from 'node:stream';
4
4
  import { MessagePort, Worker } from 'node:worker_threads';
5
- import { ApplicationCommandOptionAllowedChannelTypes, MessageActionRowComponentBuilder } from '@discordjs/builders';
5
+ import { ApplicationCommandOptionAllowedChannelType, MessageActionRowComponentBuilder } from '@discordjs/builders';
6
6
  import { Collection, ReadonlyCollection } from '@discordjs/collection';
7
7
  import { BaseImageURLOptions, ImageURLOptions, RawFile, REST, RESTOptions, EmojiURLOptions } from '@discordjs/rest';
8
8
  import { Awaitable, JSONEncodable } from '@discordjs/util';
@@ -4823,13 +4823,13 @@ export type ApplicationCommandData =
4823
4823
  | UserApplicationCommandData;
4824
4824
 
4825
4825
  export interface ApplicationCommandChannelOptionData extends BaseApplicationCommandOptionsData {
4826
- channelTypes?: readonly ApplicationCommandOptionAllowedChannelTypes[];
4827
- channel_types?: readonly ApplicationCommandOptionAllowedChannelTypes[];
4826
+ channelTypes?: readonly ApplicationCommandOptionAllowedChannelType[];
4827
+ channel_types?: readonly ApplicationCommandOptionAllowedChannelType[];
4828
4828
  type: CommandOptionChannelResolvableType;
4829
4829
  }
4830
4830
 
4831
4831
  export interface ApplicationCommandChannelOption extends BaseApplicationCommandOptionsData {
4832
- channelTypes?: readonly ApplicationCommandOptionAllowedChannelTypes[];
4832
+ channelTypes?: readonly ApplicationCommandOptionAllowedChannelType[];
4833
4833
  type: ApplicationCommandOptionType.Channel;
4834
4834
  }
4835
4835