discord.js 15.0.0-dev.1737029096-0c40bc195 → 15.0.0-dev.1737072718-21096884b
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 +5 -5
- package/typings/index.d.mts +14 -11
- package/typings/index.d.ts +14 -11
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.
|
|
4
|
+
"version": "15.0.0-dev.1737072718-21096884b",
|
|
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",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"undici": "6.21.0",
|
|
62
62
|
"@discordjs/collection": "^2.1.1",
|
|
63
63
|
"@discordjs/rest": "^2.4.0",
|
|
64
|
-
"@discordjs/ws": "^2.0.0",
|
|
65
64
|
"@discordjs/formatters": "^0.5.0",
|
|
66
|
-
"@discordjs/util": "^1.1.1"
|
|
65
|
+
"@discordjs/util": "^1.1.1",
|
|
66
|
+
"@discordjs/ws": "^2.0.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@favware/cliff-jumper": "^4.1.0",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"turbo": "^2.3.3",
|
|
82
82
|
"typescript": "~5.5.4",
|
|
83
83
|
"@discordjs/api-extractor": "^7.38.1",
|
|
84
|
-
"@discordjs/
|
|
85
|
-
"@discordjs/
|
|
84
|
+
"@discordjs/scripts": "^0.1.0",
|
|
85
|
+
"@discordjs/docgen": "^0.12.1"
|
|
86
86
|
},
|
|
87
87
|
"engines": {
|
|
88
88
|
"node": ">=20"
|
package/typings/index.d.mts
CHANGED
|
@@ -13,7 +13,6 @@ import {
|
|
|
13
13
|
ModalActionRowComponentBuilder,
|
|
14
14
|
ModalBuilder as BuildersModal,
|
|
15
15
|
AnyComponentBuilder,
|
|
16
|
-
ComponentBuilder,
|
|
17
16
|
type RestOrArray,
|
|
18
17
|
ApplicationCommandOptionAllowedChannelTypes,
|
|
19
18
|
} from '@discordjs/builders';
|
|
@@ -6184,7 +6183,7 @@ export interface InteractionCollectorOptions<
|
|
|
6184
6183
|
}
|
|
6185
6184
|
|
|
6186
6185
|
export interface InteractionDeferReplyOptions {
|
|
6187
|
-
flags?: BitFieldResolvable<Extract<MessageFlagsString, 'Ephemeral'>, MessageFlags.Ephemeral
|
|
6186
|
+
flags?: BitFieldResolvable<Extract<MessageFlagsString, 'Ephemeral'>, MessageFlags.Ephemeral> | undefined;
|
|
6188
6187
|
withResponse?: boolean;
|
|
6189
6188
|
}
|
|
6190
6189
|
|
|
@@ -6195,10 +6194,12 @@ export interface InteractionDeferUpdateOptions {
|
|
|
6195
6194
|
export interface InteractionReplyOptions extends BaseMessageOptionsWithPoll {
|
|
6196
6195
|
tts?: boolean;
|
|
6197
6196
|
withResponse?: boolean;
|
|
6198
|
-
flags?:
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6197
|
+
flags?:
|
|
6198
|
+
| BitFieldResolvable<
|
|
6199
|
+
Extract<MessageFlagsString, 'Ephemeral' | 'SuppressEmbeds' | 'SuppressNotifications'>,
|
|
6200
|
+
MessageFlags.Ephemeral | MessageFlags.SuppressEmbeds | MessageFlags.SuppressNotifications
|
|
6201
|
+
>
|
|
6202
|
+
| undefined;
|
|
6202
6203
|
}
|
|
6203
6204
|
|
|
6204
6205
|
export interface InteractionUpdateOptions extends MessageEditOptions {
|
|
@@ -6383,10 +6384,12 @@ export interface MessageCreateOptions extends BaseMessageOptionsWithPoll {
|
|
|
6383
6384
|
enforceNonce?: boolean;
|
|
6384
6385
|
reply?: ReplyOptions;
|
|
6385
6386
|
stickers?: readonly StickerResolvable[];
|
|
6386
|
-
flags?:
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6387
|
+
flags?:
|
|
6388
|
+
| BitFieldResolvable<
|
|
6389
|
+
Extract<MessageFlagsString, 'SuppressEmbeds' | 'SuppressNotifications'>,
|
|
6390
|
+
MessageFlags.SuppressEmbeds | MessageFlags.SuppressNotifications
|
|
6391
|
+
>
|
|
6392
|
+
| undefined;
|
|
6390
6393
|
}
|
|
6391
6394
|
|
|
6392
6395
|
export interface GuildForumThreadMessageCreateOptions
|
|
@@ -6400,7 +6403,7 @@ export interface MessageEditAttachmentData {
|
|
|
6400
6403
|
export interface MessageEditOptions extends Omit<BaseMessageOptions, 'content'> {
|
|
6401
6404
|
content?: string | null;
|
|
6402
6405
|
attachments?: readonly (Attachment | MessageEditAttachmentData)[];
|
|
6403
|
-
flags?: BitFieldResolvable<Extract<MessageFlagsString, 'SuppressEmbeds'>, MessageFlags.SuppressEmbeds
|
|
6406
|
+
flags?: BitFieldResolvable<Extract<MessageFlagsString, 'SuppressEmbeds'>, MessageFlags.SuppressEmbeds> | undefined;
|
|
6404
6407
|
}
|
|
6405
6408
|
|
|
6406
6409
|
export type MessageReactionResolvable = MessageReaction | Snowflake | string;
|
package/typings/index.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ import {
|
|
|
13
13
|
ModalActionRowComponentBuilder,
|
|
14
14
|
ModalBuilder as BuildersModal,
|
|
15
15
|
AnyComponentBuilder,
|
|
16
|
-
ComponentBuilder,
|
|
17
16
|
type RestOrArray,
|
|
18
17
|
ApplicationCommandOptionAllowedChannelTypes,
|
|
19
18
|
} from '@discordjs/builders';
|
|
@@ -6184,7 +6183,7 @@ export interface InteractionCollectorOptions<
|
|
|
6184
6183
|
}
|
|
6185
6184
|
|
|
6186
6185
|
export interface InteractionDeferReplyOptions {
|
|
6187
|
-
flags?: BitFieldResolvable<Extract<MessageFlagsString, 'Ephemeral'>, MessageFlags.Ephemeral
|
|
6186
|
+
flags?: BitFieldResolvable<Extract<MessageFlagsString, 'Ephemeral'>, MessageFlags.Ephemeral> | undefined;
|
|
6188
6187
|
withResponse?: boolean;
|
|
6189
6188
|
}
|
|
6190
6189
|
|
|
@@ -6195,10 +6194,12 @@ export interface InteractionDeferUpdateOptions {
|
|
|
6195
6194
|
export interface InteractionReplyOptions extends BaseMessageOptionsWithPoll {
|
|
6196
6195
|
tts?: boolean;
|
|
6197
6196
|
withResponse?: boolean;
|
|
6198
|
-
flags?:
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6197
|
+
flags?:
|
|
6198
|
+
| BitFieldResolvable<
|
|
6199
|
+
Extract<MessageFlagsString, 'Ephemeral' | 'SuppressEmbeds' | 'SuppressNotifications'>,
|
|
6200
|
+
MessageFlags.Ephemeral | MessageFlags.SuppressEmbeds | MessageFlags.SuppressNotifications
|
|
6201
|
+
>
|
|
6202
|
+
| undefined;
|
|
6202
6203
|
}
|
|
6203
6204
|
|
|
6204
6205
|
export interface InteractionUpdateOptions extends MessageEditOptions {
|
|
@@ -6383,10 +6384,12 @@ export interface MessageCreateOptions extends BaseMessageOptionsWithPoll {
|
|
|
6383
6384
|
enforceNonce?: boolean;
|
|
6384
6385
|
reply?: ReplyOptions;
|
|
6385
6386
|
stickers?: readonly StickerResolvable[];
|
|
6386
|
-
flags?:
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6387
|
+
flags?:
|
|
6388
|
+
| BitFieldResolvable<
|
|
6389
|
+
Extract<MessageFlagsString, 'SuppressEmbeds' | 'SuppressNotifications'>,
|
|
6390
|
+
MessageFlags.SuppressEmbeds | MessageFlags.SuppressNotifications
|
|
6391
|
+
>
|
|
6392
|
+
| undefined;
|
|
6390
6393
|
}
|
|
6391
6394
|
|
|
6392
6395
|
export interface GuildForumThreadMessageCreateOptions
|
|
@@ -6400,7 +6403,7 @@ export interface MessageEditAttachmentData {
|
|
|
6400
6403
|
export interface MessageEditOptions extends Omit<BaseMessageOptions, 'content'> {
|
|
6401
6404
|
content?: string | null;
|
|
6402
6405
|
attachments?: readonly (Attachment | MessageEditAttachmentData)[];
|
|
6403
|
-
flags?: BitFieldResolvable<Extract<MessageFlagsString, 'SuppressEmbeds'>, MessageFlags.SuppressEmbeds
|
|
6406
|
+
flags?: BitFieldResolvable<Extract<MessageFlagsString, 'SuppressEmbeds'>, MessageFlags.SuppressEmbeds> | undefined;
|
|
6404
6407
|
}
|
|
6405
6408
|
|
|
6406
6409
|
export type MessageReactionResolvable = MessageReaction | Snowflake | string;
|