discord.js 15.0.0-dev.1752365791-3cff4d741 → 15.0.0-dev.1752452150-7e3d4e536
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 +17 -18
- package/src/index.js +1 -0
- package/src/structures/ThreadChannel.js +1 -1
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.1752452150-7e3d4e536",
|
|
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",
|
|
@@ -55,37 +55,36 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@sapphire/snowflake": "3.5.5",
|
|
57
57
|
"@vladfrangu/async_event_emitter": "^2.4.6",
|
|
58
|
-
"discord-api-types": "^0.38.
|
|
58
|
+
"discord-api-types": "^0.38.16",
|
|
59
59
|
"fast-deep-equal": "3.1.3",
|
|
60
60
|
"lodash.snakecase": "4.1.1",
|
|
61
|
-
"magic-bytes.js": "^1.
|
|
61
|
+
"magic-bytes.js": "^1.12.1",
|
|
62
62
|
"tslib": "^2.8.1",
|
|
63
|
-
"undici": "7.
|
|
63
|
+
"undici": "7.11.0",
|
|
64
64
|
"@discordjs/collection": "^2.1.1",
|
|
65
|
-
"@discordjs/formatters": "^0.6.1",
|
|
66
65
|
"@discordjs/builders": "^1.11.1",
|
|
67
|
-
"@discordjs/rest": "^2.5.0",
|
|
68
66
|
"@discordjs/util": "^1.1.1",
|
|
69
|
-
"@discordjs/
|
|
67
|
+
"@discordjs/formatters": "^0.6.1",
|
|
68
|
+
"@discordjs/ws": "^2.0.2",
|
|
69
|
+
"@discordjs/rest": "^2.5.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@favware/cliff-jumper": "^4.1.0",
|
|
73
|
-
"@types/node": "^22.
|
|
73
|
+
"@types/node": "^22.16.3",
|
|
74
74
|
"cross-env": "^7.0.3",
|
|
75
|
-
"eslint": "^9.
|
|
75
|
+
"eslint": "^9.30.1",
|
|
76
76
|
"eslint-config-neon": "^0.2.7",
|
|
77
77
|
"eslint-formatter-compact": "^8.40.0",
|
|
78
|
-
"eslint-formatter-pretty": "^
|
|
79
|
-
"eslint-plugin-import": "^2.
|
|
80
|
-
"eslint-plugin-jsdoc": "^
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"turbo": "^2.5.2",
|
|
78
|
+
"eslint-formatter-pretty": "^6.0.1",
|
|
79
|
+
"eslint-plugin-import": "^2.32.0",
|
|
80
|
+
"eslint-plugin-jsdoc": "^51.3.4",
|
|
81
|
+
"prettier": "^3.6.2",
|
|
82
|
+
"tsd": "^0.32.0",
|
|
83
|
+
"turbo": "^2.5.4",
|
|
85
84
|
"typescript": "~5.8.3",
|
|
85
|
+
"@discordjs/api-extractor": "^7.52.7",
|
|
86
86
|
"@discordjs/docgen": "^0.12.1",
|
|
87
|
-
"@discordjs/scripts": "^0.1.0"
|
|
88
|
-
"@discordjs/api-extractor": "^7.52.7"
|
|
87
|
+
"@discordjs/scripts": "^0.1.0"
|
|
89
88
|
},
|
|
90
89
|
"engines": {
|
|
91
90
|
"node": ">=22.12.0"
|
package/src/index.js
CHANGED
|
@@ -144,6 +144,7 @@ exports.Component = require('./structures/Component.js').Component;
|
|
|
144
144
|
exports.ContainerComponent = require('./structures/ContainerComponent.js').ContainerComponent;
|
|
145
145
|
exports.ContextMenuCommandInteraction =
|
|
146
146
|
require('./structures/ContextMenuCommandInteraction.js').ContextMenuCommandInteraction;
|
|
147
|
+
exports.DirectoryChannel = require('./structures/DirectoryChannel.js').DirectoryChannel;
|
|
147
148
|
exports.DMChannel = require('./structures/DMChannel.js').DMChannel;
|
|
148
149
|
exports.Embed = require('./structures/Embed.js').Embed;
|
|
149
150
|
exports.Emoji = require('./structures/Emoji.js').Emoji;
|
|
@@ -375,7 +375,7 @@ class ThreadChannel extends BaseChannel {
|
|
|
375
375
|
async edit(options) {
|
|
376
376
|
const newData = await this.client.rest.patch(Routes.channel(this.id), {
|
|
377
377
|
body: {
|
|
378
|
-
name:
|
|
378
|
+
name: options.name,
|
|
379
379
|
archived: options.archived,
|
|
380
380
|
auto_archive_duration: options.autoArchiveDuration,
|
|
381
381
|
rate_limit_per_user: options.rateLimitPerUser,
|