discord.js 15.0.0-dev.1738109528-fa0d4b507 → 15.0.0-dev.1738152305-5f463eb9e
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/README.md
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
<a href="https://www.npmjs.com/package/discord.js"><img src="https://img.shields.io/npm/v/discord.js.svg?maxAge=3600" alt="npm version" /></a>
|
|
10
10
|
<a href="https://www.npmjs.com/package/discord.js"><img src="https://img.shields.io/npm/dt/discord.js.svg?maxAge=3600" alt="npm downloads" /></a>
|
|
11
11
|
<a href="https://github.com/discordjs/discord.js/actions"><img src="https://github.com/discordjs/discord.js/actions/workflows/test.yml/badge.svg" alt="Tests status" /></a>
|
|
12
|
-
<a href="https://
|
|
12
|
+
<a href="https://github.com/discordjs/discord.js/commits/main/packages/discord.js"><img alt="Last commit." src="https://img.shields.io/github/last-commit/discordjs/discord.js?logo=github&logoColor=ffffff&path=packages%2Fdiscord.js"></a>
|
|
13
|
+
<a href="https://codecov.io/gh/discordjs/discord.js"><img src="https://codecov.io/gh/discordjs/discord.js/branch/main/graph/badge.svg?precision=2" alt="Code coverage" /></a>
|
|
13
14
|
</p>
|
|
14
15
|
<p>
|
|
15
16
|
<a href="https://vercel.com/?utm_source=discordjs&utm_campaign=oss"><img src="https://raw.githubusercontent.com/discordjs/discord.js/main/.github/powered-by-vercel.svg" alt="Vercel" /></a>
|
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.1738152305-5f463eb9e",
|
|
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",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"lodash.snakecase": "4.1.1",
|
|
61
61
|
"tslib": "^2.8.1",
|
|
62
62
|
"undici": "6.21.0",
|
|
63
|
-
"@discordjs/formatters": "^0.5.0",
|
|
64
63
|
"@discordjs/collection": "^2.1.1",
|
|
65
64
|
"@discordjs/rest": "^2.4.0",
|
|
66
65
|
"@discordjs/util": "^1.1.1",
|
|
66
|
+
"@discordjs/formatters": "^0.5.0",
|
|
67
67
|
"@discordjs/ws": "^2.0.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
"tslint": "6.1.3",
|
|
82
82
|
"turbo": "^2.3.3",
|
|
83
83
|
"typescript": "~5.5.4",
|
|
84
|
+
"@discordjs/api-extractor": "^7.38.1",
|
|
84
85
|
"@discordjs/docgen": "^0.12.1",
|
|
85
|
-
"@discordjs/scripts": "^0.1.0"
|
|
86
|
-
"@discordjs/api-extractor": "^7.38.1"
|
|
86
|
+
"@discordjs/scripts": "^0.1.0"
|
|
87
87
|
},
|
|
88
88
|
"engines": {
|
|
89
89
|
"node": ">=22.12.0"
|
|
@@ -102,7 +102,7 @@ class ThreadManager extends CachedManager {
|
|
|
102
102
|
* Data that can be resolved to a Date object. This can be:
|
|
103
103
|
* * A Date object
|
|
104
104
|
* * A number representing a timestamp
|
|
105
|
-
* * An
|
|
105
|
+
* * An {@link https://en.wikipedia.org/wiki/ISO_8601 ISO 8601} string
|
|
106
106
|
* @typedef {Date|number|string} DateResolvable
|
|
107
107
|
*/
|
|
108
108
|
|
|
@@ -202,7 +202,8 @@ class ShardClientUtil {
|
|
|
202
202
|
* Emitted when the client encounters an error.
|
|
203
203
|
* <warn>Errors thrown within this event do not have a catch handler, it is
|
|
204
204
|
* recommended to not use async functions as `error` event handlers. See the
|
|
205
|
-
*
|
|
205
|
+
* {@link https://nodejs.org/api/events.html#capture-rejections-of-promises Node.js documentation}
|
|
206
|
+
* for details.)</warn>
|
|
206
207
|
* @event Client#error
|
|
207
208
|
* @param {Error} error The error encountered
|
|
208
209
|
*/
|
|
@@ -75,7 +75,7 @@ class TextBasedChannel {
|
|
|
75
75
|
* @property {?string} [content=''] The content for the message. This can only be `null` when editing a message.
|
|
76
76
|
* @property {Array<(EmbedBuilder|Embed|APIEmbed)>} [embeds] The embeds for the message
|
|
77
77
|
* @property {MessageMentionOptions} [allowedMentions] Which mentions should be parsed from the message content
|
|
78
|
-
* (see
|
|
78
|
+
* (see {@link https://discord.com/developers/docs/resources/message#allowed-mentions-object here} for more details)
|
|
79
79
|
* @property {Array<(AttachmentBuilder|Attachment|AttachmentPayload|BufferResolvable)>} [files]
|
|
80
80
|
* The files to send with the message.
|
|
81
81
|
* @property {Array<(ActionRowBuilder|ActionRow|APIActionRowComponent)>} [components]
|