discord.js 14.19.2 → 14.19.3
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": "14.19.
|
|
4
|
+
"version": "14.19.3",
|
|
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",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"homepage": "https://discord.js.org",
|
|
53
53
|
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@discordjs/builders": "^1.11.
|
|
55
|
+
"@discordjs/builders": "^1.11.2",
|
|
56
56
|
"@discordjs/collection": "1.5.3",
|
|
57
57
|
"@discordjs/formatters": "^0.6.1",
|
|
58
58
|
"@discordjs/ws": "^1.2.2",
|
|
@@ -249,7 +249,9 @@ class MessagePayload {
|
|
|
249
249
|
username,
|
|
250
250
|
avatar_url: avatarURL,
|
|
251
251
|
allowed_mentions:
|
|
252
|
-
this.isMessage && this.target.author.id !== this.target.client.user.id
|
|
252
|
+
this.isMessage && message_reference === undefined && this.target.author.id !== this.target.client.user.id
|
|
253
|
+
? undefined
|
|
254
|
+
: allowedMentions,
|
|
253
255
|
flags,
|
|
254
256
|
message_reference,
|
|
255
257
|
attachments: this.options.attachments,
|
package/src/util/APITypes.js
CHANGED
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* @external APIMediaGalleryItem
|
|
155
|
-
* @
|
|
155
|
+
* @see {@link https://discord-api-types.dev/api/discord-api-types-v10/interface/APIMediaGalleryItem}
|
|
156
156
|
*/
|
|
157
157
|
|
|
158
158
|
/**
|
package/typings/index.d.mts
CHANGED
|
@@ -3219,7 +3219,7 @@ export type SelectMenuType = APISelectMenuComponent['type'];
|
|
|
3219
3219
|
|
|
3220
3220
|
export interface SeparatorComponentData extends BaseComponentData {
|
|
3221
3221
|
spacing?: SeparatorSpacingSize;
|
|
3222
|
-
|
|
3222
|
+
divider?: boolean;
|
|
3223
3223
|
}
|
|
3224
3224
|
export class SeparatorComponent extends Component<APISeparatorComponent> {
|
|
3225
3225
|
private constructor(data: APISeparatorComponent);
|
package/typings/index.d.ts
CHANGED
|
@@ -3219,7 +3219,7 @@ export type SelectMenuType = APISelectMenuComponent['type'];
|
|
|
3219
3219
|
|
|
3220
3220
|
export interface SeparatorComponentData extends BaseComponentData {
|
|
3221
3221
|
spacing?: SeparatorSpacingSize;
|
|
3222
|
-
|
|
3222
|
+
divider?: boolean;
|
|
3223
3223
|
}
|
|
3224
3224
|
export class SeparatorComponent extends Component<APISeparatorComponent> {
|
|
3225
3225
|
private constructor(data: APISeparatorComponent);
|
package/typings/index.test-d.ts
CHANGED