discord.js 15.0.0-dev.1744589645-5c0b71455 → 15.0.0-dev.1744935184-feec5efe4
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.
|
|
4
|
+
"version": "15.0.0-dev.1744935184-feec5efe4",
|
|
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,10 +61,10 @@
|
|
|
61
61
|
"undici": "7.8.0",
|
|
62
62
|
"@discordjs/builders": "^1.9.0",
|
|
63
63
|
"@discordjs/collection": "^2.1.1",
|
|
64
|
-
"@discordjs/util": "^1.1.1",
|
|
65
|
-
"@discordjs/rest": "^2.4.0",
|
|
66
64
|
"@discordjs/formatters": "^0.5.0",
|
|
67
|
-
"@discordjs/
|
|
65
|
+
"@discordjs/rest": "^2.4.0",
|
|
66
|
+
"@discordjs/ws": "^2.0.0",
|
|
67
|
+
"@discordjs/util": "^1.1.1"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@favware/cliff-jumper": "^4.1.0",
|
package/src/client/Client.js
CHANGED
|
@@ -279,7 +279,6 @@ class Client extends BaseClient {
|
|
|
279
279
|
(await this.ws.fetchStatus()).every(status => status === WebSocketShardStatus.Ready)
|
|
280
280
|
) {
|
|
281
281
|
this.emit(Events.Debug, 'Client received all its guilds. Marking as fully ready.');
|
|
282
|
-
this.status = Status.Ready;
|
|
283
282
|
|
|
284
283
|
this._triggerClientReady();
|
|
285
284
|
return;
|
|
@@ -302,7 +301,6 @@ class Client extends BaseClient {
|
|
|
302
301
|
);
|
|
303
302
|
|
|
304
303
|
this.readyTimeout = null;
|
|
305
|
-
this.status = Status.Ready;
|
|
306
304
|
|
|
307
305
|
this._triggerClientReady();
|
|
308
306
|
},
|
|
@@ -282,7 +282,7 @@ class ApplicationCommand extends Base {
|
|
|
282
282
|
* @returns {Promise<ApplicationCommand>}
|
|
283
283
|
* @example
|
|
284
284
|
* // Edit the name localizations of this command
|
|
285
|
-
* command.
|
|
285
|
+
* command.setNameLocalizations({
|
|
286
286
|
* 'en-GB': 'test',
|
|
287
287
|
* 'pt-BR': 'teste',
|
|
288
288
|
* })
|