From deef2a11c523928a72dfb03ece47a9d3ff10e191 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Mon, 6 Oct 2025 23:29:54 +0100 Subject: [PATCH 01/12] fix: miscellaneous fixes --- .../content/docs/legacy/additional-info/changes-in-v14.mdx | 2 +- apps/guide/content/docs/legacy/app-creation/project-setup.mdx | 2 +- apps/guide/content/docs/legacy/keyv/keyv.mdx | 2 +- apps/guide/content/docs/legacy/sequelize/index.mdx | 4 ++-- apps/guide/content/docs/legacy/sharding/index.mdx | 4 ++-- apps/guide/content/docs/legacy/slash-commands/permissions.mdx | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/guide/content/docs/legacy/additional-info/changes-in-v14.mdx b/apps/guide/content/docs/legacy/additional-info/changes-in-v14.mdx index 2da06b7f2034..28335d6c495b 100644 --- a/apps/guide/content/docs/legacy/additional-info/changes-in-v14.mdx +++ b/apps/guide/content/docs/legacy/additional-info/changes-in-v14.mdx @@ -519,7 +519,7 @@ You can no longer use the `deleted` property to check if a structure was deleted ### ApplicationCommand -NFSW commands are supported. +NSFW commands are supported. ### Attachment diff --git a/apps/guide/content/docs/legacy/app-creation/project-setup.mdx b/apps/guide/content/docs/legacy/app-creation/project-setup.mdx index 8614cc7289fe..3f0101b41d39 100644 --- a/apps/guide/content/docs/legacy/app-creation/project-setup.mdx +++ b/apps/guide/content/docs/legacy/app-creation/project-setup.mdx @@ -33,7 +33,7 @@ console.log(token); ## Using environment variables -Environment variables are, as the name suggets, values you can pass to your environment (e.g. terminal session, Docker container, node process). This has the benefit that you can keep your code the same for different execution contexts. +Environment variables are, as the name suggests, values you can pass to your environment (e.g. terminal session, Docker container, node process). This has the benefit that you can keep your code the same for different execution contexts. ```txt title=".env" A=Hello World diff --git a/apps/guide/content/docs/legacy/keyv/keyv.mdx b/apps/guide/content/docs/legacy/keyv/keyv.mdx index ae1a4587aac4..c61e631566a2 100644 --- a/apps/guide/content/docs/legacy/keyv/keyv.mdx +++ b/apps/guide/content/docs/legacy/keyv/keyv.mdx @@ -105,7 +105,7 @@ Although Keyv can assist in any scenario where you need key-value data, we will This section will still work with any provider supported by Keyv. We recommend PostgreSQL for larger applications. - Do note that "large" here should be interpreted as absolutely massive. Sqlite is used at scale by many companies and products you use every single day. The slight overhead should not be noticable for the application of a Discord bot at all unless you are dealing with super complicated queries or are using specific features that do not exist in sqlite. + Do note that "large" here should be interpreted as absolutely massive. Sqlite is used at scale by many companies and products you use every single day. The slight overhead should not be noticeable for the application of a Discord bot at all unless you are dealing with super complicated queries or are using specific features that do not exist in sqlite. You can find out if sqlite might be a good choice for your project (it very likely is) by reading [their own article](https://www.sqlite.org/whentouse.html) on the topic. diff --git a/apps/guide/content/docs/legacy/sequelize/index.mdx b/apps/guide/content/docs/legacy/sequelize/index.mdx index f5f263776a2e..62caabaa1254 100644 --- a/apps/guide/content/docs/legacy/sequelize/index.mdx +++ b/apps/guide/content/docs/legacy/sequelize/index.mdx @@ -42,7 +42,7 @@ bun add discord.js sequelize sqlite3 This section will still work with any provider supported by sequelize. We recommend PostgreSQL for larger applications. - Do note that "large" here should be interpreted as absolutely massive. Sqlite is used at scale by many companies and products you use every single day. The slight overhead should not be noticable for the application of a Discord bot at all unless you are dealing with super complicated queries or are using specific features that do not exist in sqlite. + Do note that "large" here should be interpreted as absolutely massive. Sqlite is used at scale by many companies and products you use every single day. The slight overhead should not be noticeable for the application of a Discord bot at all unless you are dealing with super complicated queries or are using specific features that do not exist in sqlite. You can find out if sqlite might be a good choice for your project (it very likely is) by reading [their own article](https://www.sqlite.org/whentouse.html) on the topic. @@ -106,7 +106,7 @@ In any relational database, you need to create tables to store your data. This s | bob | is the best | bob | 0 | | tableflip | (╯°□°)╯︵ ┻━┻ | joe | 8 | -To do that in Sequelize, define a model based on this structure below the connection information, as shown below, after the `sequelize` initalisation. +To do that in Sequelize, define a model based on this structure below the connection information, as shown below, after the `sequelize` initialization. ```js title="sequelize-example.js" // ... diff --git a/apps/guide/content/docs/legacy/sharding/index.mdx b/apps/guide/content/docs/legacy/sharding/index.mdx index 3a09868688b8..4d4b32e3ba6e 100644 --- a/apps/guide/content/docs/legacy/sharding/index.mdx +++ b/apps/guide/content/docs/legacy/sharding/index.mdx @@ -149,7 +149,7 @@ This will run the code given to `broadcastEval` on each shard and return the res ```js client.shard - .broadcastEval((c) => c.guilds.cache.reduce((acc, guild) => acc + guild.memberCount, 0)) // [!code word:boradcastEval] + .broadcastEval((c) => c.guilds.cache.reduce((acc, guild) => acc + guild.memberCount, 0)) // [!code word:broadcastEval] .then((results) => { return interaction.reply(`Total member count: ${results.reduce((acc, memberCount) => acc + memberCount, 0)}`); }) @@ -192,7 +192,7 @@ client.on(Events.InteractionCreate, (interaction) => { // [!code ++:12] const promises = [ client.shard.fetchClientValues('guilds.cache.size'), - lient.shard.broadcastEval((c) => c.guilds.cache.reduce((acc, guild) => acc + guild.memberCount, 0)), + client.shard.broadcastEval((c) => c.guilds.cache.reduce((acc, guild) => acc + guild.memberCount, 0)), ]; return Promise.all(promises) diff --git a/apps/guide/content/docs/legacy/slash-commands/permissions.mdx b/apps/guide/content/docs/legacy/slash-commands/permissions.mdx index a0ef76b4bfce..91e7b2d52262 100644 --- a/apps/guide/content/docs/legacy/slash-commands/permissions.mdx +++ b/apps/guide/content/docs/legacy/slash-commands/permissions.mdx @@ -28,7 +28,7 @@ const data = new SlashCommandBuilder() .setDefaultMemberPermissions(PermissionFlagsBits.BanMembers); // [!code ++] ``` -For a kick command however, yout can allow members with the `KickMembers` permission to execute the command, so that's why the flag is listed here here. +For a kick command however, your can allow members with the `KickMembers` permission to execute the command, so that's why the flag is listed here here. You can require the user to have all of multiple permissions by merging them with the `|` bitwise OR operator (for example `PermissionFlagsBits.BanMembers | PermissionFlagsBits.KickMembers`). From dab34dd1a1455429670b9d966362d2439154be65 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Mon, 6 Oct 2025 23:36:30 +0100 Subject: [PATCH 02/12] docs: fix contributing link --- apps/guide/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/guide/README.md b/apps/guide/README.md index 49be19483248..329a9ca89940 100644 --- a/apps/guide/README.md +++ b/apps/guide/README.md @@ -24,8 +24,7 @@ ## Contributing -Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the existing guide. -See [the contribution guide][./contributing] if you'd like to submit a PR. +Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the existing guide. See [the contributing guide][contributing] if you'd like to submit a pull request. ## Local Development From 222b40ed0c494be7d5cc5ef04a3f43276e58246d Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Mon, 6 Oct 2025 23:40:33 +0100 Subject: [PATCH 03/12] fix: link --- apps/guide/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/guide/README.md b/apps/guide/README.md index 329a9ca89940..019c678a1db5 100644 --- a/apps/guide/README.md +++ b/apps/guide/README.md @@ -37,7 +37,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs -[guide]: https://discord.js/guide +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs From 0fc58ced0eca53de11e71b85958e941d435381b2 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Mon, 6 Oct 2025 23:50:49 +0100 Subject: [PATCH 04/12] fix: you --- apps/guide/content/docs/legacy/slash-commands/permissions.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/guide/content/docs/legacy/slash-commands/permissions.mdx b/apps/guide/content/docs/legacy/slash-commands/permissions.mdx index 91e7b2d52262..a59ec9893b81 100644 --- a/apps/guide/content/docs/legacy/slash-commands/permissions.mdx +++ b/apps/guide/content/docs/legacy/slash-commands/permissions.mdx @@ -28,7 +28,7 @@ const data = new SlashCommandBuilder() .setDefaultMemberPermissions(PermissionFlagsBits.BanMembers); // [!code ++] ``` -For a kick command however, your can allow members with the `KickMembers` permission to execute the command, so that's why the flag is listed here here. +For a kick command however, you can allow members with the `KickMembers` permission to execute the command, so that's why the flag is listed here here. You can require the user to have all of multiple permissions by merging them with the `|` bitwise OR operator (for example `PermissionFlagsBits.BanMembers | PermissionFlagsBits.KickMembers`). From be75a800498dd41c84db4e9907c375d51b0163b2 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Mon, 6 Oct 2025 23:55:04 +0100 Subject: [PATCH 05/12] fix: main links --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index be212d205de2..3d047c71985d 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,8 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/discord.js From 49b7777c9b099150053930cbfb6065b1f9083870 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Mon, 6 Oct 2025 23:57:45 +0100 Subject: [PATCH 06/12] fix: update source --- apps/website/README.md | 2 +- packages/actions/README.md | 2 +- packages/api-extractor-utils/README.md | 2 +- packages/brokers/README.md | 2 +- packages/builders/README.md | 2 +- packages/collection/README.md | 2 +- packages/core/README.md | 2 +- packages/create-discord-bot/README.md | 2 +- packages/discord.js/README.md | 2 +- packages/docgen/README.md | 2 +- packages/formatters/README.md | 2 +- packages/next/README.md | 2 +- packages/proxy-container/README.md | 2 +- packages/proxy/README.md | 2 +- packages/rest/README.md | 2 +- packages/scripts/README.md | 2 +- packages/structures/README.md | 2 +- packages/ui/README.md | 2 +- packages/util/README.md | 2 +- packages/voice/README.md | 2 +- packages/ws/README.md | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/apps/website/README.md b/apps/website/README.md index 6428bcc97b21..f80d32af72fd 100644 --- a/apps/website/README.md +++ b/apps/website/README.md @@ -39,7 +39,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/actions/README.md b/packages/actions/README.md index d90fea7f784c..4e09b97e360c 100644 --- a/packages/actions/README.md +++ b/packages/actions/README.md @@ -36,7 +36,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/api-extractor-utils/README.md b/packages/api-extractor-utils/README.md index 1dc352e86b68..b3a67cd07e8d 100644 --- a/packages/api-extractor-utils/README.md +++ b/packages/api-extractor-utils/README.md @@ -36,7 +36,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/brokers/README.md b/packages/brokers/README.md index f84fea53d9a5..d21d32c80a4c 100644 --- a/packages/brokers/README.md +++ b/packages/brokers/README.md @@ -127,7 +127,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/brokers/stable [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/builders/README.md b/packages/builders/README.md index 5022898dec37..677c1d816abc 100644 --- a/packages/builders/README.md +++ b/packages/builders/README.md @@ -63,7 +63,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/builders/stable [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/collection/README.md b/packages/collection/README.md index 47430afc9543..14d6ee93456c 100644 --- a/packages/collection/README.md +++ b/packages/collection/README.md @@ -58,7 +58,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/collection/stable [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/core/README.md b/packages/core/README.md index 588405ced923..77de6fcd49cb 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -119,7 +119,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/core/stable [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/create-discord-bot/README.md b/packages/create-discord-bot/README.md index 6622dd16f878..e201f478fe97 100644 --- a/packages/create-discord-bot/README.md +++ b/packages/create-discord-bot/README.md @@ -44,7 +44,7 @@ See [the contribution guide][contributing] if you'd like to submit a pull reques If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official [discord.js server][discord]. [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/discord.js/README.md b/packages/discord.js/README.md index 99967a4f31fa..b7c6e1aad032 100644 --- a/packages/discord.js/README.md +++ b/packages/discord.js/README.md @@ -135,7 +135,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/discord.js/stable [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/docgen/README.md b/packages/docgen/README.md index cc6f4393139b..0fbfdea9a0ab 100644 --- a/packages/docgen/README.md +++ b/packages/docgen/README.md @@ -37,7 +37,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/formatters/README.md b/packages/formatters/README.md index d996882f4657..8cf78daf1460 100644 --- a/packages/formatters/README.md +++ b/packages/formatters/README.md @@ -75,7 +75,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/formatters/stable [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/next/README.md b/packages/next/README.md index 9c92fe146169..efd70aa8fafd 100644 --- a/packages/next/README.md +++ b/packages/next/README.md @@ -51,7 +51,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/next/stable [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/proxy-container/README.md b/packages/proxy-container/README.md index dbd09585af8d..03a63560fff6 100644 --- a/packages/proxy-container/README.md +++ b/packages/proxy-container/README.md @@ -74,7 +74,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/proxy/README.md b/packages/proxy/README.md index deff2870956f..53c0a22bbd00 100644 --- a/packages/proxy/README.md +++ b/packages/proxy/README.md @@ -59,7 +59,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/proxy/stable [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/rest/README.md b/packages/rest/README.md index f832266bf5c3..b7645bfaa289 100644 --- a/packages/rest/README.md +++ b/packages/rest/README.md @@ -128,7 +128,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/rest/stable [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/scripts/README.md b/packages/scripts/README.md index b66664d88579..1b4a6bd9bc41 100644 --- a/packages/scripts/README.md +++ b/packages/scripts/README.md @@ -36,7 +36,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/structures/README.md b/packages/structures/README.md index 73af52f5a67c..b04f3c531015 100644 --- a/packages/structures/README.md +++ b/packages/structures/README.md @@ -59,7 +59,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/structures/stable [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/ui/README.md b/packages/ui/README.md index 30c9d150948b..b5ee8d89a762 100644 --- a/packages/ui/README.md +++ b/packages/ui/README.md @@ -36,7 +36,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/util/README.md b/packages/util/README.md index c0b6a4bbcc0c..a100fd96c2cf 100644 --- a/packages/util/README.md +++ b/packages/util/README.md @@ -56,7 +56,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/util/stable [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/voice/README.md b/packages/voice/README.md index a32dfd001de8..e30f71040529 100644 --- a/packages/voice/README.md +++ b/packages/voice/README.md @@ -101,7 +101,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/voice/stable [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers diff --git a/packages/ws/README.md b/packages/ws/README.md index 56e2eafb2b5a..5046233a62a8 100644 --- a/packages/ws/README.md +++ b/packages/ws/README.md @@ -213,7 +213,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/ws/stable [guide]: https://discordjs.guide/ -[guide-source]: https://github.com/discordjs/guide +[guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers From a1917d322cc8cf9315111938d209f74bf83cab12 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Mon, 6 Oct 2025 23:58:18 +0100 Subject: [PATCH 07/12] fix: update link --- README.md | 2 +- apps/website/README.md | 2 +- packages/actions/README.md | 2 +- packages/api-extractor-utils/README.md | 2 +- packages/brokers/README.md | 2 +- packages/builders/README.md | 2 +- packages/collection/README.md | 2 +- packages/core/README.md | 2 +- packages/create-discord-bot/README.md | 2 +- packages/discord.js/README.md | 2 +- packages/docgen/README.md | 2 +- packages/formatters/README.md | 2 +- packages/next/README.md | 2 +- packages/proxy-container/README.md | 2 +- packages/proxy/README.md | 2 +- packages/rest/README.md | 2 +- packages/scripts/README.md | 2 +- packages/structures/README.md | 2 +- packages/ui/README.md | 2 +- packages/util/README.md | 2 +- packages/voice/README.md | 2 +- packages/ws/README.md | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 3d047c71985d..e92f5b83a496 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs diff --git a/apps/website/README.md b/apps/website/README.md index f80d32af72fd..a029ee7c2072 100644 --- a/apps/website/README.md +++ b/apps/website/README.md @@ -38,7 +38,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/actions/README.md b/packages/actions/README.md index 4e09b97e360c..7c064cfe701c 100644 --- a/packages/actions/README.md +++ b/packages/actions/README.md @@ -35,7 +35,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/api-extractor-utils/README.md b/packages/api-extractor-utils/README.md index b3a67cd07e8d..301023787b39 100644 --- a/packages/api-extractor-utils/README.md +++ b/packages/api-extractor-utils/README.md @@ -35,7 +35,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/brokers/README.md b/packages/brokers/README.md index d21d32c80a4c..0ec39f30334b 100644 --- a/packages/brokers/README.md +++ b/packages/brokers/README.md @@ -126,7 +126,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/brokers/stable -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/builders/README.md b/packages/builders/README.md index 677c1d816abc..ffe53f9cef8a 100644 --- a/packages/builders/README.md +++ b/packages/builders/README.md @@ -62,7 +62,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/builders/stable -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/collection/README.md b/packages/collection/README.md index 14d6ee93456c..c030649b579f 100644 --- a/packages/collection/README.md +++ b/packages/collection/README.md @@ -57,7 +57,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/collection/stable -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/core/README.md b/packages/core/README.md index 77de6fcd49cb..369883c11086 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -118,7 +118,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/core/stable -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/create-discord-bot/README.md b/packages/create-discord-bot/README.md index e201f478fe97..e6050bb44454 100644 --- a/packages/create-discord-bot/README.md +++ b/packages/create-discord-bot/README.md @@ -43,7 +43,7 @@ See [the contribution guide][contributing] if you'd like to submit a pull reques If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official [discord.js server][discord]. -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/discord.js/README.md b/packages/discord.js/README.md index b7c6e1aad032..dcd8bbf909dd 100644 --- a/packages/discord.js/README.md +++ b/packages/discord.js/README.md @@ -134,7 +134,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/discord.js/stable -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/docgen/README.md b/packages/docgen/README.md index 0fbfdea9a0ab..0532a2b9bf73 100644 --- a/packages/docgen/README.md +++ b/packages/docgen/README.md @@ -36,7 +36,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/formatters/README.md b/packages/formatters/README.md index 8cf78daf1460..fecd7fa66a5f 100644 --- a/packages/formatters/README.md +++ b/packages/formatters/README.md @@ -74,7 +74,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/formatters/stable -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/next/README.md b/packages/next/README.md index efd70aa8fafd..b09a7c569c46 100644 --- a/packages/next/README.md +++ b/packages/next/README.md @@ -50,7 +50,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/next/stable -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/proxy-container/README.md b/packages/proxy-container/README.md index 03a63560fff6..139be05af7b2 100644 --- a/packages/proxy-container/README.md +++ b/packages/proxy-container/README.md @@ -73,7 +73,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/proxy/README.md b/packages/proxy/README.md index 53c0a22bbd00..c4116cc20346 100644 --- a/packages/proxy/README.md +++ b/packages/proxy/README.md @@ -58,7 +58,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/proxy/stable -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/rest/README.md b/packages/rest/README.md index b7645bfaa289..ef2aa1cbd45b 100644 --- a/packages/rest/README.md +++ b/packages/rest/README.md @@ -127,7 +127,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/rest/stable -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/scripts/README.md b/packages/scripts/README.md index 1b4a6bd9bc41..91f592883042 100644 --- a/packages/scripts/README.md +++ b/packages/scripts/README.md @@ -35,7 +35,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/structures/README.md b/packages/structures/README.md index b04f3c531015..665b62611656 100644 --- a/packages/structures/README.md +++ b/packages/structures/README.md @@ -58,7 +58,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/structures/stable -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/ui/README.md b/packages/ui/README.md index b5ee8d89a762..c5afffbc4835 100644 --- a/packages/ui/README.md +++ b/packages/ui/README.md @@ -35,7 +35,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/util/README.md b/packages/util/README.md index a100fd96c2cf..f1aaee53e5ee 100644 --- a/packages/util/README.md +++ b/packages/util/README.md @@ -55,7 +55,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/util/stable -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/voice/README.md b/packages/voice/README.md index e30f71040529..4280cf305a60 100644 --- a/packages/voice/README.md +++ b/packages/voice/README.md @@ -100,7 +100,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/voice/stable -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs diff --git a/packages/ws/README.md b/packages/ws/README.md index 5046233a62a8..5a9778165e89 100644 --- a/packages/ws/README.md +++ b/packages/ws/README.md @@ -212,7 +212,7 @@ If you don't understand something in the documentation, you are experiencing pro [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs/packages/ws/stable -[guide]: https://discordjs.guide/ +[guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html [discord]: https://discord.gg/djs From be9cea21fc2438681fb7422f3dc49514d22705c5 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Tue, 7 Oct 2025 00:00:00 +0100 Subject: [PATCH 08/12] fix: update update link --- apps/guide/README.md | 2 +- apps/website/README.md | 2 +- packages/actions/README.md | 2 +- packages/api-extractor-utils/README.md | 2 +- packages/brokers/README.md | 2 +- packages/builders/README.md | 2 +- packages/collection/README.md | 2 +- packages/core/README.md | 2 +- packages/create-discord-bot/README.md | 2 +- packages/discord.js/README.md | 2 +- packages/docgen/README.md | 2 +- packages/formatters/README.md | 2 +- packages/next/README.md | 2 +- packages/proxy-container/README.md | 2 +- packages/proxy/README.md | 2 +- packages/rest/README.md | 2 +- packages/scripts/README.md | 2 +- packages/structures/README.md | 2 +- packages/ui/README.md | 2 +- packages/util/README.md | 2 +- packages/voice/README.md | 2 +- packages/ws/README.md | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/apps/guide/README.md b/apps/guide/README.md index 019c678a1db5..34e8eff72579 100644 --- a/apps/guide/README.md +++ b/apps/guide/README.md @@ -39,7 +39,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [contributing]: https://github.com/discordjs/discord.js/blob/main/.github/CONTRIBUTING.md diff --git a/apps/website/README.md b/apps/website/README.md index a029ee7c2072..015653a81abb 100644 --- a/apps/website/README.md +++ b/apps/website/README.md @@ -40,7 +40,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/apps/website diff --git a/packages/actions/README.md b/packages/actions/README.md index 7c064cfe701c..7a14137741bd 100644 --- a/packages/actions/README.md +++ b/packages/actions/README.md @@ -37,7 +37,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/actions diff --git a/packages/api-extractor-utils/README.md b/packages/api-extractor-utils/README.md index 301023787b39..6e909557985e 100644 --- a/packages/api-extractor-utils/README.md +++ b/packages/api-extractor-utils/README.md @@ -37,7 +37,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/api-extractor-utils diff --git a/packages/brokers/README.md b/packages/brokers/README.md index 0ec39f30334b..2057adb7d76c 100644 --- a/packages/brokers/README.md +++ b/packages/brokers/README.md @@ -128,7 +128,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/brokers/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/brokers diff --git a/packages/builders/README.md b/packages/builders/README.md index ffe53f9cef8a..2810251dca87 100644 --- a/packages/builders/README.md +++ b/packages/builders/README.md @@ -64,7 +64,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/builders/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/builders diff --git a/packages/collection/README.md b/packages/collection/README.md index c030649b579f..e52f85eedf2b 100644 --- a/packages/collection/README.md +++ b/packages/collection/README.md @@ -59,7 +59,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/collection/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/collection diff --git a/packages/core/README.md b/packages/core/README.md index 369883c11086..dfb7c4977069 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -120,7 +120,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/core/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/core diff --git a/packages/create-discord-bot/README.md b/packages/create-discord-bot/README.md index e6050bb44454..555fc133c7a9 100644 --- a/packages/create-discord-bot/README.md +++ b/packages/create-discord-bot/README.md @@ -45,7 +45,7 @@ If you don't understand something in the documentation, you are experiencing pro [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/create-discord-bot diff --git a/packages/discord.js/README.md b/packages/discord.js/README.md index dcd8bbf909dd..025ed5f28ca5 100644 --- a/packages/discord.js/README.md +++ b/packages/discord.js/README.md @@ -136,7 +136,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/discord.js/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/discord.js diff --git a/packages/docgen/README.md b/packages/docgen/README.md index 0532a2b9bf73..c9a07ddceecb 100644 --- a/packages/docgen/README.md +++ b/packages/docgen/README.md @@ -38,7 +38,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/docgen diff --git a/packages/formatters/README.md b/packages/formatters/README.md index fecd7fa66a5f..81fd8cff5b26 100644 --- a/packages/formatters/README.md +++ b/packages/formatters/README.md @@ -76,7 +76,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/formatters/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/formatters diff --git a/packages/next/README.md b/packages/next/README.md index b09a7c569c46..4d27475e3314 100644 --- a/packages/next/README.md +++ b/packages/next/README.md @@ -52,7 +52,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/next/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/next diff --git a/packages/proxy-container/README.md b/packages/proxy-container/README.md index 139be05af7b2..37d69cce03db 100644 --- a/packages/proxy-container/README.md +++ b/packages/proxy-container/README.md @@ -75,7 +75,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/proxy-container diff --git a/packages/proxy/README.md b/packages/proxy/README.md index c4116cc20346..b1d228ee62ef 100644 --- a/packages/proxy/README.md +++ b/packages/proxy/README.md @@ -60,7 +60,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/proxy/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/proxy diff --git a/packages/rest/README.md b/packages/rest/README.md index ef2aa1cbd45b..06833eb49ba6 100644 --- a/packages/rest/README.md +++ b/packages/rest/README.md @@ -129,7 +129,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/rest/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/rest diff --git a/packages/scripts/README.md b/packages/scripts/README.md index 91f592883042..085fd68c4b11 100644 --- a/packages/scripts/README.md +++ b/packages/scripts/README.md @@ -37,7 +37,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/scripts diff --git a/packages/structures/README.md b/packages/structures/README.md index 665b62611656..7e59b751f352 100644 --- a/packages/structures/README.md +++ b/packages/structures/README.md @@ -60,7 +60,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/structures/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/structures diff --git a/packages/ui/README.md b/packages/ui/README.md index c5afffbc4835..b4852dbe8658 100644 --- a/packages/ui/README.md +++ b/packages/ui/README.md @@ -37,7 +37,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/ui diff --git a/packages/util/README.md b/packages/util/README.md index f1aaee53e5ee..a6d9261eb87b 100644 --- a/packages/util/README.md +++ b/packages/util/README.md @@ -57,7 +57,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/util/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/util diff --git a/packages/voice/README.md b/packages/voice/README.md index 4280cf305a60..4985bf70fabd 100644 --- a/packages/voice/README.md +++ b/packages/voice/README.md @@ -102,7 +102,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/voice/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/voice diff --git a/packages/ws/README.md b/packages/ws/README.md index 5a9778165e89..89b2ae32ec67 100644 --- a/packages/ws/README.md +++ b/packages/ws/README.md @@ -214,7 +214,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/ws/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html +[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/ws From c591aab7b09a3da39fd2f5e2b21915b0c50b5f9d Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Tue, 7 Oct 2025 09:36:27 +0100 Subject: [PATCH 09/12] fix: [ --- apps/guide/content/docs/voice/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/guide/content/docs/voice/index.mdx b/apps/guide/content/docs/voice/index.mdx index d1b5613585f9..0b30d7c6c84a 100644 --- a/apps/guide/content/docs/voice/index.mdx +++ b/apps/guide/content/docs/voice/index.mdx @@ -2,7 +2,7 @@ title: Installation --- -"Voice" refers to Discord bots being able to send audio in voice channels. This is supported in discord.js via @discordjs/voice](https://github.com/discordjs/discord.js/tree/main/packages/voice), a standalone library made by the developers of discord.js. While you can use it with any Node.js Discord API library, this guide will focus on using it with discord.js. +"Voice" refers to Discord bots being able to send audio in voice channels. This is supported in discord.js via [@discordjs/voice](https://github.com/discordjs/discord.js/tree/main/packages/voice), a standalone library made by the developers of discord.js. While you can use it with any Node.js Discord API library, this guide will focus on using it with discord.js. ## Installation From b7928b2ad4485e8f9df59b34046753849928b8e9 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Tue, 7 Oct 2025 09:37:54 +0100 Subject: [PATCH 10/12] fix: remove locale --- .../content/docs/legacy/additional-info/async-await.mdx | 2 +- .../content/docs/legacy/additional-info/collections.mdx | 9 ++++----- .../content/docs/legacy/additional-info/rest-api.mdx | 4 ++-- .../docs/legacy/app-creation/deploying-commands.mdx | 2 +- .../docs/legacy/app-creation/handling-commands.mdx | 2 +- .../content/docs/legacy/app-creation/handling-events.mdx | 2 +- apps/guide/content/docs/legacy/index.mdx | 2 +- apps/guide/content/docs/legacy/keyv/keyv.mdx | 2 +- .../docs/legacy/miscellaneous/useful-packages.mdx | 2 +- apps/guide/content/docs/legacy/popular-topics/canvas.mdx | 4 ++-- .../content/docs/legacy/popular-topics/collectors.mdx | 6 +++--- apps/guide/content/docs/legacy/popular-topics/errors.mdx | 2 +- .../guide/content/docs/legacy/popular-topics/intents.mdx | 4 ++-- .../content/docs/legacy/popular-topics/partials.mdx | 2 +- .../docs/legacy/popular-topics/permissions-extended.mdx | 2 +- .../content/docs/legacy/popular-topics/reactions.mdx | 6 +++--- .../content/docs/legacy/popular-topics/webhooks.mdx | 2 +- apps/guide/content/docs/legacy/sharding/index.mdx | 8 ++++---- .../docs/legacy/slash-commands/parsing-options.mdx | 4 ++-- .../content/docs/legacy/slash-commands/permissions.mdx | 2 +- 20 files changed, 34 insertions(+), 35 deletions(-) diff --git a/apps/guide/content/docs/legacy/additional-info/async-await.mdx b/apps/guide/content/docs/legacy/additional-info/async-await.mdx index 73c1c605f3b2..86b7108f1409 100644 --- a/apps/guide/content/docs/legacy/additional-info/async-await.mdx +++ b/apps/guide/content/docs/legacy/additional-info/async-await.mdx @@ -143,7 +143,7 @@ client.on(Events.InteractionCreate, (interaction) => { }); ``` -In this piece of code, the Promises are [chain resolved](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/then#Chaining) with each other, and if one of the Promises gets rejected, the function passed to `.catch()` gets called. Here's the same code but with async/await: +In this piece of code, the Promises are [chain resolved](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise/then#Chaining) with each other, and if one of the Promises gets rejected, the function passed to `.catch()` gets called. Here's the same code but with async/await: ```js title="promise-example.js" lineNumbers=9 client.on(Events.InteractionCreate, async (interaction) => { diff --git a/apps/guide/content/docs/legacy/additional-info/collections.mdx b/apps/guide/content/docs/legacy/additional-info/collections.mdx index 5963a026b544..3092784efd74 100644 --- a/apps/guide/content/docs/legacy/additional-info/collections.mdx +++ b/apps/guide/content/docs/legacy/additional-info/collections.mdx @@ -7,10 +7,9 @@ It extends JavaScript's native `Map` class, so it has all the `Map` features and If you're not familiar with `Map`, read [MDN's page on - it](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) before continuing. You - should be familiar with `Array` - [methods](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) as well. We will - also use some ES6 features, so read up [here](./es6-syntax) if you do not know what they are. + it](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map) before continuing. You should be + familiar with `Array` [methods](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array) as + well. We will also use some ES6 features, so read up [here](./es6-syntax) if you do not know what they are. A `Map` allows for an association between unique keys and their values. @@ -45,7 +44,7 @@ Methods that follow this philosophy of staying close to the `Array` interface ar ## Converting to Array -Since `Collection` extends `Map`, it is an [iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols), and can be converted to an `Array` through either `Array.from()` or spread syntax (`...collection`). +Since `Collection` extends `Map`, it is an [iterable](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Iteration_protocols), and can be converted to an `Array` through either `Array.from()` or spread syntax (`...collection`). ```js // For values. diff --git a/apps/guide/content/docs/legacy/additional-info/rest-api.mdx b/apps/guide/content/docs/legacy/additional-info/rest-api.mdx index ed9fe3f59ac6..3bbaec990e4b 100644 --- a/apps/guide/content/docs/legacy/additional-info/rest-api.mdx +++ b/apps/guide/content/docs/legacy/additional-info/rest-api.mdx @@ -69,7 +69,7 @@ const { request } = require('undici'); showcase! -Random cat's API is available at [https://aws.random.cat/meow](https://aws.random.cat/meow) and returns a [JSON](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON) response. To actually fetch data from the API, you're going to do the following: +Random cat's API is available at [https://aws.random.cat/meow](https://aws.random.cat/meow) and returns a [JSON](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/JSON) response. To actually fetch data from the API, you're going to do the following: ```js const catResult = await request('https://aws.random.cat/meow'); @@ -119,7 +119,7 @@ client.on(Events.InteractionCreate, async (interaction) => { }); ``` -Here, you are using JavaScript's native [URLSearchParams class](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams) to create a [query string](https://en.wikipedia.org/wiki/Query_string) for the URL so that the Urban Dictionary server can parse it and know what you want to look up. +Here, you are using JavaScript's native [URLSearchParams class](https://developer.mozilla.org/docs/Web/API/URLSearchParams) to create a [query string](https://en.wikipedia.org/wiki/Query_string) for the URL so that the Urban Dictionary server can parse it and know what you want to look up. If you were to do `/urban hello world`, then the URL would become https://api.urbandictionary.com/v0/define?term=hello%20world since the string `"hello world"` is encoded. diff --git a/apps/guide/content/docs/legacy/app-creation/deploying-commands.mdx b/apps/guide/content/docs/legacy/app-creation/deploying-commands.mdx index c40ee4389aa1..67d4f46e5b89 100644 --- a/apps/guide/content/docs/legacy/app-creation/deploying-commands.mdx +++ b/apps/guide/content/docs/legacy/app-creation/deploying-commands.mdx @@ -49,7 +49,7 @@ Create a `deploy-commands.js` file in your project directory. This file will be Add two more properties to your `config.json` file, which we'll need in the deployment script: - `clientId`: Your application's client id ([Discord Developer Portal](https://discord.com/developers/applications) > "General Information" > application id) -- `guildId`: Your development server's id ([Enable developer mode](https://support.discord.com/hc/en-us/articles/206346498) > Right-click the server title > "Copy ID") +- `guildId`: Your development server's id ([Enable developer mode](https://support.discord.com/hc/articles/206346498) > Right-click the server title > "Copy ID") ```json title="config.json" { diff --git a/apps/guide/content/docs/legacy/app-creation/handling-commands.mdx b/apps/guide/content/docs/legacy/app-creation/handling-commands.mdx index 538f1c8e9d7e..8867e45df79a 100644 --- a/apps/guide/content/docs/legacy/app-creation/handling-commands.mdx +++ b/apps/guide/content/docs/legacy/app-creation/handling-commands.mdx @@ -64,7 +64,7 @@ We recommend attaching a `.commands` property to your client instance so that yo native path utility module. `path` helps construct paths to access files and directories. One of the advantages of the `path` module is that it automatically detects the operating system and uses the appropriate joiners. - The `Collection` class extends JavaScript's native - [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) class, and includes more + [`Map`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map) class, and includes more extensive, useful functionality. `Collection` is used to store and efficiently retrieve commands for execution. diff --git a/apps/guide/content/docs/legacy/app-creation/handling-events.mdx b/apps/guide/content/docs/legacy/app-creation/handling-events.mdx index 98bf64a825df..cb67e67dd5e4 100644 --- a/apps/guide/content/docs/legacy/app-creation/handling-events.mdx +++ b/apps/guide/content/docs/legacy/app-creation/handling-events.mdx @@ -204,7 +204,7 @@ You'll notice the code looks very similar to the command loading above it - read The `Client` class in discord.js extends the [`EventEmitter`](https://nodejs.org/api/events.html#events_class_eventemitter) class. Therefore, the `client` object exposes the [`.on()`](https://nodejs.org/api/events.html#events_emitter_on_eventname_listener) and [`.once()`](https://nodejs.org/api/events.html#events_emitter_once_eventname_listener) methods that you can use to register event listeners. These methods take two arguments: the event name and a callback function. These are defined in your separate event files as `name` and `execute`. -The callback function passed takes argument(s) returned by its respective event, collects them in an `args` array using the `...` [rest parameter syntax](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters), then calls `event.execute()` while passing in the `args` array using the `...` [spread syntax](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax). They are used here because different events in discord.js have different numbers of arguments. The rest parameter collects these variable number of arguments into a single array, and the spread syntax then takes these elements and passes them to the `execute` function. +The callback function passed takes argument(s) returned by its respective event, collects them in an `args` array using the `...` [rest parameter syntax](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Functions/rest_parameters), then calls `event.execute()` while passing in the `args` array using the `...` [spread syntax](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Spread_syntax). They are used here because different events in discord.js have different numbers of arguments. The rest parameter collects these variable number of arguments into a single array, and the spread syntax then takes these elements and passes them to the `execute` function. After this, listening for other events is as easy as creating a new file in the `events` folder. The event handler will automatically retrieve and register it whenever you restart your bot. diff --git a/apps/guide/content/docs/legacy/index.mdx b/apps/guide/content/docs/legacy/index.mdx index c290d12fc5de..4f6361758277 100644 --- a/apps/guide/content/docs/legacy/index.mdx +++ b/apps/guide/content/docs/legacy/index.mdx @@ -30,7 +30,7 @@ If you don't know JavaScript but would like to learn about it, here are a few li - [JavaScript.info, a modern javascript tutorial](https://javascript.info/) - [Codecademy's interactive JavaScript course](https://www.codecademy.com/learn/introduction-to-javascript) - [Nodeschool, for both JavaScript and Node.js lessons](https://nodeschool.io/) -- [MDN's JavaScript guide and full documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript) +- [MDN's JavaScript guide and full documentation](https://developer.mozilla.org/docs/Web/JavaScript) - [Google, your best friend](https://google.com) Take your pick, learn some JavaScript, and once you feel like you're confident enough to make a bot, come back and get started! diff --git a/apps/guide/content/docs/legacy/keyv/keyv.mdx b/apps/guide/content/docs/legacy/keyv/keyv.mdx index c61e631566a2..bb97a11574e9 100644 --- a/apps/guide/content/docs/legacy/keyv/keyv.mdx +++ b/apps/guide/content/docs/legacy/keyv/keyv.mdx @@ -80,7 +80,7 @@ For a more detailed setup, check out the [Keyv readme](https://github.com/jaredw ## Usage -Keyv exposes a familiar [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map)-like API. However, it only has `set`, `get`, `delete`, and `clear` methods. Additionally, instead of immediately returning data, these methods return [Promises](../additional-info/async-await) that resolve with the data. +Keyv exposes a familiar [Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)-like API. However, it only has `set`, `get`, `delete`, and `clear` methods. Additionally, instead of immediately returning data, these methods return [Promises](../additional-info/async-await) that resolve with the data. ```js (async () => { diff --git a/apps/guide/content/docs/legacy/miscellaneous/useful-packages.mdx b/apps/guide/content/docs/legacy/miscellaneous/useful-packages.mdx index 8f27d3b26028..00ea924ac91a 100644 --- a/apps/guide/content/docs/legacy/miscellaneous/useful-packages.mdx +++ b/apps/guide/content/docs/legacy/miscellaneous/useful-packages.mdx @@ -75,7 +75,7 @@ await interaction.followUp(`You sent the two messages ${formatted} apart.`); Common-tags is a library all about working with template literals. So far, you have probably only used them for interpolating variables into your strings, but they can do a whole lot more. -If you've got time, you should check out [the MDN's documentation about _tagged literals_.](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_templates). +If you've got time, you should check out [the MDN's documentation about _tagged literals_.](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Template_literals#Tagged_templates). Ever got annoyed your multi-line strings had nasty bits of indentation in them, but you did not want to remove the indentation in your source code? diff --git a/apps/guide/content/docs/legacy/popular-topics/canvas.mdx b/apps/guide/content/docs/legacy/popular-topics/canvas.mdx index 4290833a6fc5..87a43bdc83bf 100644 --- a/apps/guide/content/docs/legacy/popular-topics/canvas.mdx +++ b/apps/guide/content/docs/legacy/popular-topics/canvas.mdx @@ -81,7 +81,7 @@ After importing the `@napi-rs/canvas` module and initializing it, you should loa `@napi-rs/canvas` works almost identical to HTML5 Canvas. You can read the HTML5 Canvas tutorials on [w3Schools](https://www.w3schools.com/html/html5_canvas.asp) and - [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) for more information later! + [MDN](https://developer.mozilla.org/docs/Web/API/Canvas_API) for more information later! ```js lineNumbers=10 title="index.js" @@ -222,7 +222,7 @@ client.on(Events.InteractionCreate, async (interaction) => { You can read more about `context.arc()` on [w3schools](https://www.w3schools.com/tags/canvas_arc.asp) or - [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/arc). + [MDN](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/arc). ### Adding in text diff --git a/apps/guide/content/docs/legacy/popular-topics/collectors.mdx b/apps/guide/content/docs/legacy/popular-topics/collectors.mdx index f2cc301af5ca..30ad456e2af6 100644 --- a/apps/guide/content/docs/legacy/popular-topics/collectors.mdx +++ b/apps/guide/content/docs/legacy/popular-topics/collectors.mdx @@ -24,9 +24,9 @@ collector.on('end', (collected) => { }); ``` -You can provide a `filter` key to the object parameter of `createMessageCollector()`. The value to this key should be a function that returns a boolean value to indicate if this message should be collected or not. To check for multiple conditions in your filter you can connect them using [logical operators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#logical_operators). If you don't provide a filter all messages in the channel the collector was started on will be collected. +You can provide a `filter` key to the object parameter of `createMessageCollector()`. The value to this key should be a function that returns a boolean value to indicate if this message should be collected or not. To check for multiple conditions in your filter you can connect them using [logical operators](https://developer.mozilla.org/docs/Web/JavaScript/Guide/Expressions_and_Operators#logical_operators). If you don't provide a filter all messages in the channel the collector was started on will be collected. -Note that the above example uses [implicit return](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions#function_body) for the filter function and passes it to the options object using the [object property shorthand](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer#property_definitions) notation. +Note that the above example uses [implicit return](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Functions/Arrow_functions#function_body) for the filter function and passes it to the options object using the [object property shorthand](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Object_initializer#property_definitions) notation. If a message passes through the filter, it will trigger the `collect` event for the `collector` you've created. This message is then passed into the event listener as `collected` and the provided function is executed. In the above example, you simply log the message. Once the collector finishes collecting based on the provided end conditions the `end` event emits. @@ -81,7 +81,7 @@ interaction.reply({ content: item.question, withResponse: true }).then((response If you don't understand how `.some()` works, you can read about it in more detail - [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some). + [here](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/some). In this filter, you iterate through the answers to find what you want. You would like to ignore the case because simple typos can happen, so you convert each answer to its lowercase form and check if it's equal to the response in lowercase form as well. In the options section, you only want to allow one answer to pass through, hence the `max: 1` setting. diff --git a/apps/guide/content/docs/legacy/popular-topics/errors.mdx b/apps/guide/content/docs/legacy/popular-topics/errors.mdx index ab06486b9c98..46999372f8b0 100644 --- a/apps/guide/content/docs/legacy/popular-topics/errors.mdx +++ b/apps/guide/content/docs/legacy/popular-topics/errors.mdx @@ -20,7 +20,7 @@ Example: `The messages must be an Array, Collection, or number.` ### JavaScript errors -JavaScript errors are thrown by node itself or by discord.js. These errors can easily be fixed by looking at the type of error and the stack trace. You can find a full list of types [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) and a list of common JavaScript errors [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors). +JavaScript errors are thrown by node itself or by discord.js. These errors can easily be fixed by looking at the type of error and the stack trace. You can find a full list of types [here](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error) and a list of common JavaScript errors [here](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors). Examples: diff --git a/apps/guide/content/docs/legacy/popular-topics/intents.mdx b/apps/guide/content/docs/legacy/popular-topics/intents.mdx index 487278d086e1..7718a2a18223 100644 --- a/apps/guide/content/docs/legacy/popular-topics/intents.mdx +++ b/apps/guide/content/docs/legacy/popular-topics/intents.mdx @@ -8,7 +8,7 @@ Rather than blindly enabling all intents, consider what information you actually ## Privileged Intents -Discord defines some intents as "privileged" due to the data's sensitive nature. At the time of writing this article, privileged intents are `GuildPresences`, `MessageContent` and `GuildMembers`. If your bot is not verified and in less than 100 guilds, you can enable privileged gateway intents in the [Discord Developer Portal](https://discord.com/developers/applications) under "Privileged Gateway Intents" in the "Bot" section. If your bot is already verified or is about to [require verification](https://support-dev.discord.com/hc/en-us/articles/23926564536471), you need to request privileged intents. You can do this in your verification application or by reaching out to Discord's [support team](https://dis.gd/contact), including why you require access to each privileged intent. +Discord defines some intents as "privileged" due to the data's sensitive nature. At the time of writing this article, privileged intents are `GuildPresences`, `MessageContent` and `GuildMembers`. If your bot is not verified and in less than 100 guilds, you can enable privileged gateway intents in the [Discord Developer Portal](https://discord.com/developers/applications) under "Privileged Gateway Intents" in the "Bot" section. If your bot is already verified or is about to [require verification](https://support-dev.discord.com/hc/articles/23926564536471), you need to request privileged intents. You can do this in your verification application or by reaching out to Discord's [support team](https://dis.gd/contact), including why you require access to each privileged intent. Before storming off and doing so, you should stop and carefully think about if you need these events. Discord made them opt-in so users across the platform can enjoy a higher level of [privacy](https://en.wikipedia.org/wiki/Privacy_by_design). Presences can expose quite a bit of personal information, including the games being played and overall online time. You might find that it isn't necessary for your bot to have this level of information about all guild members at all times, considering you still get the command author as GuildMember from the command execution message and can fetch other targets separately. @@ -75,6 +75,6 @@ If you want to view the built flags you can utilize the `.toArray()`, `.serializ ## More on Bitfields -Discord Intents and Permissions are stored in a 53-bit integer and calculated using bitwise operations. If you want to dive deeper into what's happening behind the curtains, check the [Wikipedia](https://en.wikipedia.org/wiki/Bit_field) and [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators#binary_bitwise_operators) articles on the topic. +Discord Intents and Permissions are stored in a 53-bit integer and calculated using bitwise operations. If you want to dive deeper into what's happening behind the curtains, check the [Wikipedia](https://en.wikipedia.org/wiki/Bit_field) and [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators#binary_bitwise_operators) articles on the topic. In discord.js, Permissions and Intents bitfields are represented as either the decimal value of said bit field or its referenced flags. Every position in a permissions bitfield represents one of these flags and its state (either referenced `1` or not referenced `0`). diff --git a/apps/guide/content/docs/legacy/popular-topics/partials.mdx b/apps/guide/content/docs/legacy/popular-topics/partials.mdx index 1607c9a7e835..6f7fc3f5cf60 100644 --- a/apps/guide/content/docs/legacy/popular-topics/partials.mdx +++ b/apps/guide/content/docs/legacy/popular-topics/partials.mdx @@ -49,7 +49,7 @@ if (message.partial) { ## Obtaining the full structure -Along with `.partial` to check if the structure you call it on is partial or not, the library also introduced a `.fetch()` method to retrieve the missing data from the API and complete the structure. The method returns a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) you need to handle. After the Promise resolves (and with it, the missing data arrived), you can use the structure as you would before. +Along with `.partial` to check if the structure you call it on is partial or not, the library also introduced a `.fetch()` method to retrieve the missing data from the API and complete the structure. The method returns a [Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise) you need to handle. After the Promise resolves (and with it, the missing data arrived), you can use the structure as you would before. ```js // [!code word:partial] diff --git a/apps/guide/content/docs/legacy/popular-topics/permissions-extended.mdx b/apps/guide/content/docs/legacy/popular-topics/permissions-extended.mdx index 6431612e69e4..5b46e58a68e3 100644 --- a/apps/guide/content/docs/legacy/popular-topics/permissions-extended.mdx +++ b/apps/guide/content/docs/legacy/popular-topics/permissions-extended.mdx @@ -4,7 +4,7 @@ title: Permissions (extended) ## Discord's permission system -Discord permissions are stored in a 53-bit integer and calculated using bitwise operations. If you want to dive deeper into what's happening behind the curtains, check the [Wikipedia](https://en.wikipedia.org/wiki/Bit_field) and [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators#binary_bitwise_operators) articles on the topic. +Discord permissions are stored in a 53-bit integer and calculated using bitwise operations. If you want to dive deeper into what's happening behind the curtains, check the [Wikipedia](https://en.wikipedia.org/wiki/Bit_field) and [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators#binary_bitwise_operators) articles on the topic. In discord.js, permission bit fields are represented as either the decimal value of said bit field or its referenced flags. Every position in a permissions bit field represents one of these flags and its state (either referenced `1` or not referenced `0`). diff --git a/apps/guide/content/docs/legacy/popular-topics/reactions.mdx b/apps/guide/content/docs/legacy/popular-topics/reactions.mdx index 58c05994efc8..bab64a64c3b9 100644 --- a/apps/guide/content/docs/legacy/popular-topics/reactions.mdx +++ b/apps/guide/content/docs/legacy/popular-topics/reactions.mdx @@ -183,7 +183,7 @@ If you try again with either of the code blocks above, you'll get the result you If you aren't familiar with Promises or `async`/`await`, you can read more about them on - [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) or [our guide page on + [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise) or [our guide page on async/await](../additional-info/async-await.md)! @@ -234,8 +234,8 @@ message.reactions.cache If you are not familiar with `Collection#filter` and - [`Map.has()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/has) take the time - to understand what they do and then come back. + [`Map.has()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map/has) take the time to + understand what they do and then come back. Removing reactions by a user is not as straightforward as removing by emoji or removing all reactions. The API does not provide a method for selectively removing the reactions of a user. This means you will have to iterate through reactions that include the user and remove them. diff --git a/apps/guide/content/docs/legacy/popular-topics/webhooks.mdx b/apps/guide/content/docs/legacy/popular-topics/webhooks.mdx index 0e0a6f24e8bd..ae240d477467 100644 --- a/apps/guide/content/docs/legacy/popular-topics/webhooks.mdx +++ b/apps/guide/content/docs/legacy/popular-topics/webhooks.mdx @@ -29,7 +29,7 @@ If you would like to get the webhook object that sent the message, you can use ` Webhook fetching will always make use of collections and Promises. If you do not understand either concept, revise them, and then come back to this section. You can read about collections [here](../additional-info/collections), and Promises [here](../additional-info/async-await) and - [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises). + [here](https://developer.mozilla.org/docs/Web/JavaScript/Guide/Using_promises). ### Fetching all webhooks of a guild diff --git a/apps/guide/content/docs/legacy/sharding/index.mdx b/apps/guide/content/docs/legacy/sharding/index.mdx index 4d4b32e3ba6e..f0377ee3f0ae 100644 --- a/apps/guide/content/docs/legacy/sharding/index.mdx +++ b/apps/guide/content/docs/legacy/sharding/index.mdx @@ -91,12 +91,12 @@ Take the following snippet of code: client.shard.fetchClientValues('guilds.cache.size').then(console.log); // [!code word:fetchClientValues] ``` -If you run it, you will notice an output like `[898, 901, 900, 901]`. You will be correct in assuming that that's the total number of guilds per shard stored in an array in the Promise. This probably isn't the ideal output for guild count, so let's use [Array.reduce()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce) to provide a better output. +If you run it, you will notice an output like `[898, 901, 900, 901]`. You will be correct in assuming that that's the total number of guilds per shard stored in an array in the Promise. This probably isn't the ideal output for guild count, so let's use [Array.reduce()](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce) to provide a better output. It's highly recommended for you to visit [the - documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce) to - understand how the `reduce()` method works, as you will probably find great use of it in sharding. + documentation](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce) to understand + how the `reduce()` method works, as you will probably find great use of it in sharding. In this case, this method iterates through the array and adds each current value to the total amount: @@ -158,7 +158,7 @@ client.shard ## Putting them together -You'd likely want to output both pieces of information in the stats command. You can combine these two results with [Promise.all()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all): +You'd likely want to output both pieces of information in the stats command. You can combine these two results with [Promise.all()](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise/all): ```js const promises = [ diff --git a/apps/guide/content/docs/legacy/slash-commands/parsing-options.mdx b/apps/guide/content/docs/legacy/slash-commands/parsing-options.mdx index 671a7c846d5c..d45a098a9649 100644 --- a/apps/guide/content/docs/legacy/slash-commands/parsing-options.mdx +++ b/apps/guide/content/docs/legacy/slash-commands/parsing-options.mdx @@ -37,12 +37,12 @@ module.exports = { }; ``` -Since `reason` isn't a required option, the example above uses the `??` [nullish coalescing operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator) to set a default value in case the user does not supply a value for `reason`. +Since `reason` isn't a required option, the example above uses the `??` [nullish coalescing operator](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator) to set a default value in case the user does not supply a value for `reason`. If the target user is still in the guild where the command is being run, you can also use `.getMember('target')` to get their `GuildMember` object. - If you want the id (Snowflake) of a structure instead, grab the option via `get()` and access the Snowflake via the `value` property. Note that you should use `const { value: name } = ...` here to [destructure and rename](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment) the value obtained from the `CommandInteractionOption` structure to avoid identifier name conflicts. + If you want the id (Snowflake) of a structure instead, grab the option via `get()` and access the Snowflake via the `value` property. Note that you should use `const { value: name } = ...` here to [destructure and rename](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment) the value obtained from the `CommandInteractionOption` structure to avoid identifier name conflicts. In the same way as the above examples, you can get values of any type using the corresponding `CommandInteractionOptionResolver#get_____()` method. `String`, `Integer`, `Number` and `Boolean` options all provide the respective primitive types, while `User`, `Channel`, `Role`, and `Mentionable` options will provide either the respective discord.js class instance if your application has a bot user in the guild or a raw API structure for commands-only deployments. diff --git a/apps/guide/content/docs/legacy/slash-commands/permissions.mdx b/apps/guide/content/docs/legacy/slash-commands/permissions.mdx index a59ec9893b81..7e68e8ee57a6 100644 --- a/apps/guide/content/docs/legacy/slash-commands/permissions.mdx +++ b/apps/guide/content/docs/legacy/slash-commands/permissions.mdx @@ -34,7 +34,7 @@ For a kick command however, you can allow members with the `KickMembers` permiss You can require the user to have all of multiple permissions by merging them with the `|` bitwise OR operator (for example `PermissionFlagsBits.BanMembers | PermissionFlagsBits.KickMembers`). You cannot require any of multiple permissions. Discord evaluates against the combined permission bitfield! - If you want to learn more about the `|` bitwise OR operator you can check the [Wikipedia](https://en.wikipedia.org/wiki/Bitwise_operation#OR) and [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_OR) articles on the topic. + If you want to learn more about the `|` bitwise OR operator you can check the [Wikipedia](https://en.wikipedia.org/wiki/Bitwise_operation#OR) and [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Bitwise_OR) articles on the topic. From 13393fcfb03e22d1792ba68c89a6674a5e0c2a4c Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Tue, 7 Oct 2025 11:06:20 +0100 Subject: [PATCH 11/12] fix: update links --- README.md | 2 +- apps/guide/README.md | 2 +- apps/website/README.md | 2 +- packages/actions/README.md | 2 +- packages/api-extractor-utils/README.md | 2 +- packages/brokers/README.md | 2 +- packages/builders/README.md | 2 +- packages/collection/README.md | 2 +- packages/core/README.md | 2 +- packages/create-discord-bot/README.md | 2 +- packages/discord.js/README.md | 2 +- packages/docgen/README.md | 2 +- packages/formatters/README.md | 2 +- packages/next/README.md | 2 +- packages/proxy-container/README.md | 2 +- packages/proxy/README.md | 2 +- packages/rest/README.md | 2 +- packages/scripts/README.md | 2 +- packages/structures/README.md | 2 +- packages/ui/README.md | 2 +- packages/util/README.md | 2 +- packages/voice/README.md | 2 +- packages/ws/README.md | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index e92f5b83a496..ffd6146f7012 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/discord.js diff --git a/apps/guide/README.md b/apps/guide/README.md index 34e8eff72579..8083969862c7 100644 --- a/apps/guide/README.md +++ b/apps/guide/README.md @@ -39,7 +39,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [contributing]: https://github.com/discordjs/discord.js/blob/main/.github/CONTRIBUTING.md diff --git a/apps/website/README.md b/apps/website/README.md index 015653a81abb..23b18b4865be 100644 --- a/apps/website/README.md +++ b/apps/website/README.md @@ -40,7 +40,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/apps/website diff --git a/packages/actions/README.md b/packages/actions/README.md index 7a14137741bd..8bad27bd6875 100644 --- a/packages/actions/README.md +++ b/packages/actions/README.md @@ -37,7 +37,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/actions diff --git a/packages/api-extractor-utils/README.md b/packages/api-extractor-utils/README.md index 6e909557985e..452c5eee7063 100644 --- a/packages/api-extractor-utils/README.md +++ b/packages/api-extractor-utils/README.md @@ -37,7 +37,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/api-extractor-utils diff --git a/packages/brokers/README.md b/packages/brokers/README.md index 2057adb7d76c..5ccab5146d7c 100644 --- a/packages/brokers/README.md +++ b/packages/brokers/README.md @@ -128,7 +128,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/brokers/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/brokers diff --git a/packages/builders/README.md b/packages/builders/README.md index 2810251dca87..4eb766f9b966 100644 --- a/packages/builders/README.md +++ b/packages/builders/README.md @@ -64,7 +64,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/builders/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/builders diff --git a/packages/collection/README.md b/packages/collection/README.md index e52f85eedf2b..d224111c79b3 100644 --- a/packages/collection/README.md +++ b/packages/collection/README.md @@ -59,7 +59,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/collection/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/collection diff --git a/packages/core/README.md b/packages/core/README.md index dfb7c4977069..a743d0e57918 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -120,7 +120,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/core/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/core diff --git a/packages/create-discord-bot/README.md b/packages/create-discord-bot/README.md index 555fc133c7a9..c010a924b4ea 100644 --- a/packages/create-discord-bot/README.md +++ b/packages/create-discord-bot/README.md @@ -45,7 +45,7 @@ If you don't understand something in the documentation, you are experiencing pro [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/create-discord-bot diff --git a/packages/discord.js/README.md b/packages/discord.js/README.md index 025ed5f28ca5..9477607a99dc 100644 --- a/packages/discord.js/README.md +++ b/packages/discord.js/README.md @@ -136,7 +136,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/discord.js/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/discord.js diff --git a/packages/docgen/README.md b/packages/docgen/README.md index c9a07ddceecb..118f09b36990 100644 --- a/packages/docgen/README.md +++ b/packages/docgen/README.md @@ -38,7 +38,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/docgen diff --git a/packages/formatters/README.md b/packages/formatters/README.md index 81fd8cff5b26..51ba30d491fb 100644 --- a/packages/formatters/README.md +++ b/packages/formatters/README.md @@ -76,7 +76,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/formatters/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/formatters diff --git a/packages/next/README.md b/packages/next/README.md index 4d27475e3314..c7c524556f51 100644 --- a/packages/next/README.md +++ b/packages/next/README.md @@ -52,7 +52,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/next/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/next diff --git a/packages/proxy-container/README.md b/packages/proxy-container/README.md index 37d69cce03db..8c2cbe53fbc5 100644 --- a/packages/proxy-container/README.md +++ b/packages/proxy-container/README.md @@ -75,7 +75,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/proxy-container diff --git a/packages/proxy/README.md b/packages/proxy/README.md index b1d228ee62ef..2f9dc3eedc40 100644 --- a/packages/proxy/README.md +++ b/packages/proxy/README.md @@ -60,7 +60,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/proxy/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/proxy diff --git a/packages/rest/README.md b/packages/rest/README.md index 06833eb49ba6..a1cc53ffe18e 100644 --- a/packages/rest/README.md +++ b/packages/rest/README.md @@ -129,7 +129,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/rest/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/rest diff --git a/packages/scripts/README.md b/packages/scripts/README.md index 085fd68c4b11..824392f02662 100644 --- a/packages/scripts/README.md +++ b/packages/scripts/README.md @@ -37,7 +37,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/scripts diff --git a/packages/structures/README.md b/packages/structures/README.md index 7e59b751f352..c34905b096d1 100644 --- a/packages/structures/README.md +++ b/packages/structures/README.md @@ -60,7 +60,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/structures/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/structures diff --git a/packages/ui/README.md b/packages/ui/README.md index b4852dbe8658..3baf92da5381 100644 --- a/packages/ui/README.md +++ b/packages/ui/README.md @@ -37,7 +37,7 @@ If you don't understand something in the documentation, you are experiencing pro [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/ui diff --git a/packages/util/README.md b/packages/util/README.md index a6d9261eb87b..daa3d636f7fe 100644 --- a/packages/util/README.md +++ b/packages/util/README.md @@ -57,7 +57,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/util/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/util diff --git a/packages/voice/README.md b/packages/voice/README.md index 4985bf70fabd..27ecb94fe1fd 100644 --- a/packages/voice/README.md +++ b/packages/voice/README.md @@ -102,7 +102,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/voice/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/voice diff --git a/packages/ws/README.md b/packages/ws/README.md index 89b2ae32ec67..aceda5e8ca19 100644 --- a/packages/ws/README.md +++ b/packages/ws/README.md @@ -214,7 +214,7 @@ If you don't understand something in the documentation, you are experiencing pro [documentation]: https://discord.js.org/docs/packages/ws/stable [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide -[guide-update]: https://discordjs.guide/guide/legacy/additional-info/changes-in-v14 +[guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/ws From d1577ca4d0546e7fa1cd89d0794c5154ea41b628 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Tue, 7 Oct 2025 11:12:12 +0100 Subject: [PATCH 12/12] fix: update GitHub link --- apps/guide/content/docs/legacy/popular-topics/canvas.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/guide/content/docs/legacy/popular-topics/canvas.mdx b/apps/guide/content/docs/legacy/popular-topics/canvas.mdx index 87a43bdc83bf..eb73cc30dbc9 100644 --- a/apps/guide/content/docs/legacy/popular-topics/canvas.mdx +++ b/apps/guide/content/docs/legacy/popular-topics/canvas.mdx @@ -101,7 +101,7 @@ client.on(Events.InteractionCreate, async (interaction) => { Now, you need to load the image you want to use into Canvas. -We'll be using [this image](https://github.com/discordjs/guide/blob/main/guide/popular-topics/images/canvas.jpg) as the background in the welcome image, but you can use whatever you want. Be sure to download the file, name it `wallpaper.jpg`, and save it inside the same directory as your main bot file. +We'll be using [this image](https://github.com/discordjs/discord.js/blob/main/apps/guide/content/docs/legacy/popular-topics/images/canvas.jpg) as the background in the welcome image, but you can use whatever you want. Be sure to download the file, name it `wallpaper.jpg`, and save it inside the same directory as your main bot file. ```js lineNumbers=10 title="index.js" client.on(Events.InteractionCreate, async (interaction) => {