Skip to content

Commit ec33497

Browse files
committed
chore: tags
* update guide links * update outdated links
1 parent c6d3dce commit ec33497

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

tags/tags.toml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Message formatting (mentions, timestamps, emoji, etc.): [learn more](https://dis
108108
[pm2]
109109
keywords = ["restart"]
110110
content = """
111-
Manage your application state with pm2 so you can restart, stop and delete processes dynamically: [learn more](https://discordjs.guide/improving-dev-environment/pm2.html)
111+
Manage your application state with pm2 so you can restart, stop and delete processes dynamically: [learn more](https://www.discordjs.guide/legacy/improving-dev-environment/pm2)
112112
"""
113113

114114
[node-opus]
@@ -140,7 +140,7 @@ If your channel changes are not going through, this might be why.
140140
[faq]
141141
keywords = ["frequently-asked-questions", "guide-faq", "guidefaq"]
142142
content = """
143-
**F**requently **A**sked **Q**uestions: [learn more](https://discordjs.guide/popular-topics/faq)
143+
**F**requently **A**sked **Q**uestions: [learn more](https://www.discordjs.guide/legacy/popular-topics/faq)
144144
"""
145145
hoisted = true
146146

@@ -199,7 +199,7 @@ const channel = client.channels.cache.get("222086648706498562");
199199
const channel = guild.channels.cache.find(channel => channel.name === "general");
200200
```
201201
- Caches in discord.js are [Collections](https://discord.js.org/docs/packages/collection/stable) which extend the native [Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map) structure.
202-
- [learn more](https://discordjs.guide/additional-info/collections.html)
202+
- [learn more](https://www.discordjs.guide/legacy/additional-info/collections)
203203
"""
204204

205205
[node-version]
@@ -358,14 +358,14 @@ content = """
358358
[notation]
359359
keywords = ["<>", "understanding-notation", "notation-guide"]
360360
content = """
361-
Explaining `<Class>` and `Class#method` notation: [learn more](https://discordjs.guide/additional-info/notation.html)
361+
Explaining `<Class>` and `Class#method` notation: [learn more](https://www.discordjs.guide/legacy/additional-info/notation)
362362
"""
363363

364364
[collection]
365365
keywords = ["collections", "collection-methods"]
366366
content = """
367367
discord.js uses [Collection](https://discord.js.org/docs/packages/collection/stable), an extension of the JS native [Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map) structure.
368-
- Guide: [learn more](https://discordjs.guide/additional-info/collections.html) [🍪](https://gist.github.com/almostSouji/71a33e5f8e84a0960b4ed3a1609915f5)
368+
- Guide: [learn more](https://www.discordjs.guide/legacy/additional-info/collections) [🍪](https://gist.github.com/almostSouji/71a33e5f8e84a0960b4ed3a1609915f5)
369369
"""
370370
hoisted = true
371371

@@ -382,7 +382,7 @@ content = """
382382
keywords = ["undici", "node-fetch", "http-requests", "call-rest-apis"]
383383
content = """
384384
Making HTTP requests (for example to call rest APIs)
385-
- Node: [learn more](https://www.npmjs.com/package/undici)
385+
- Node: [learn more](https://nodejs.org/en/learn/getting-started/fetch)
386386
- MDN: [learn more](https://developer.mozilla.org/docs/Web/API/Fetch_API)
387387
"""
388388

@@ -406,7 +406,7 @@ hoisted = true
406406
keywords = ["oauth2", "oa", "oa2"]
407407
content = """
408408
Oauth is about giving access to your stuff without sharing your identity
409-
- [oauth.net](https://oauth.net/code/nodejs) | [Discord API](https://discord.com/developers/docs/topics/oauth2) | [guide example](https://discordjs.guide/oauth2)
409+
- [oauth.net](https://oauth.net/code/nodejs) | [Discord API](https://discord.com/developers/docs/topics/oauth2) | [guide example](https://www.discordjs.guide/legacy/oauth2/oauth2)
410410
"""
411411

412412
[masked-links]
@@ -497,7 +497,7 @@ keywords = ["2-factor-auth", "two-factor-auth", "2-factor-authentication"]
497497
content = """
498498
`DiscordAPIError: Two factor is required for this operation`
499499
Elevated permissions are required to execute this action. You need to activate 2FA on your developer account in order to do this with the bot.
500-
- Elevated permissions: [learn more](https://discordjs.guide/popular-topics/permissions-extended.html#elevated-permissions)
500+
- Elevated permissions: [learn more](https://www.discordjs.guide/legacy/popular-topics/permissions-extended#elevated-permissions)
501501
- Setting up 2FA: [learn more](https://support.discord.com/hc/articles/219576828)
502502
"""
503503

@@ -594,7 +594,7 @@ keywords = [
594594
content = """
595595
Resources to understand Promise:
596596
- MDN: [learn more](https://developer.mozilla.org/docs/Web/JavaScript/Guide/Using_promises)
597-
- Guide: [learn more](https://discordjs.guide/additional-info/async-await.html)
597+
- Guide: [learn more](https://www.discordjs.guide/legacy/additional-info/async-await)
598598
- JavaScript info: [learn more](https://javascript.info/async-await)
599599
"""
600600
hoisted = true
@@ -672,7 +672,7 @@ Checking for things to not be equal in JavaScript:
672672
- if (!yourVariable === yourOtherVariable) // !yourVariable is coerced to a boolean value
673673
+ if (yourVariable !== yourOtherVariable) // checks that one is not equal to the other
674674
```
675-
- Comparison operators in JavaScript: [learn more](https://developer.mozilla.org/docs/Web/JavaScript/Guide/Expressions_and_Operators#Comparison)
675+
- Comparison operators in JavaScript: [learn more](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_operators#comparison_operators)
676676
"""
677677

678678
[member-user]
@@ -689,7 +689,7 @@ Despite sounding similar there is a distinct difference between users and member
689689
keywords = ["lint", "eslint", "jslint"]
690690
content = """
691691
"Lint, or a linter, is a tool that analyzes source code to flag programming errors, bugs, stylistic errors, and suspicious constructs."
692-
- Set up a linter in your development environment: [learn more](https://discordjs.guide/preparations/setting-up-a-linter.html)
692+
- Set up a linter in your development environment: [learn more](https://www.discordjs.guide/legacy/preparations/linter)
693693
"""
694694

695695
[voice-timeout]
@@ -715,9 +715,9 @@ keywords = [
715715
content = """
716716
**We do not provide any help with third party libraries**
717717
discord.js supports message components natively.
718-
- Select Menus: [learn more](https://discordjs.guide/interactive-components/select-menus)
719-
- Buttons: [learn more](https://discordjs.guide/interactive-components/buttons)
720-
- Modals: [learn more](https://discordjs.guide/interactions/modals)
718+
- Select Menus: [learn more](https://www.discordjs.guide/legacy/interactive-components/select-menus)
719+
- Buttons: [learn more](https://www.discordjs.guide/legacy/interactive-components/buttons)
720+
- Modals: [learn more](https://www.discordjs.guide/legacy/interactions/modals)
721721
"""
722722

723723
[find-id]
@@ -847,15 +847,15 @@ keywords = ["changes", "v14", "14"]
847847
content = """
848848
Version 14 has released! Please update at your earliest convenience.
849849
- Update: `npm rm discord.js` `npm i discord.js`
850-
- [Update guide](https://discordjs.guide/additional-info/changes-in-v14.html) (use `CTRL` + `F` to search for the old method or property)
850+
- [Update guide](https://www.discordjs.guide/legacy/additional-info/changes-in-v14) (use `CTRL` + `F` to search for the old method or property)
851851
"""
852852
hoisted = true
853853

854854
[intents]
855855
keywords = ["no-members"]
856856
content = """
857857
- Websocket intents limit events and decrease memory usage: [learn more](https://discordjs.guide/popular-topics/intents.html)
858-
- See what intents you need [here](https://discord.com/developers/docs/topics/gateway#list-of-intents)
858+
- See what intents you need [here](https://www.discordjs.guide/legacy/popular-topics/intents)
859859
"""
860860

861861
[privileged-intents]
@@ -914,7 +914,7 @@ content = """
914914
You have already replied to the interaction.
915915
- Use `<Interaction>.followUp()` to send a new message
916916
- If you deferred reply it's better to use `<Interaction>.editReply()`
917-
- Responding to [slash commands](https://discordjs.guide/slash-commands/response-methods.html) / [message components](https://discordjs.guide/interactive-components/interactions.html#responding-to-component-interactions)
917+
- Responding to [slash commands](https://www.discordjs.guide/legacy/slash-commands/response-methods) / [message components](https://www.discordjs.guide/legacy/interactive-components/interactions#responding-to-component-interactions)
918918
"""
919919

920920
[djs-sponsor]
@@ -965,14 +965,14 @@ content = """
965965
keywords = ["receive-dms", "not-getting-dms", "not-getting-dms"]
966966
content = """
967967
To receive direct message events on `"messageCreate"` with your bot, you will need:
968-
- The `DirectMessages` [gateway intent](https://discordjs.guide/popular-topics/intents)
969-
- The `Channel` [partial setting](https://discordjs.guide/popular-topics/partials)
968+
- The `DirectMessages` [gateway intent](https://www.discordjs.guide/legacy/popular-topics/intents#privileged-intents)
969+
- The `Channel` [partial setting](https://www.discordjs.guide/legacy/popular-topics/partials)
970970
"""
971971

972972
[all-intents]
973973
keywords = ["98303", "32767", "magic-intents", "magic-all-intent"]
974974
content = """
975-
We highly recommend only specifying the [intents](https://discordjs.guide/popular-topics/intents) you actually need.
975+
We highly recommend only specifying the [intents](https://www.discordjs.guide/legacy/popular-topics/intents) you actually need.
976976
- Note, that `98303`, `32767` or whatever other magic number you read that represents "all intents", gets outdated as soon as new intents are introduced.
977977
- The number will always represent the same set of intents, and will not include new ones. There is no magic "all intents" bit.
978978
"""
@@ -1000,7 +1000,7 @@ keywords = ["member-timeout"]
10001000
content = """
10011001
Fetching members can time out on large guilds, as they arrive in chunks through the WebSocket connections.
10021002
- You can specify the `time` option in `FetchMembersOptions` to specify how long you want to wait.
1003-
- Make sure you have the required `GuildMembers` [gateway intent](https://discordjs.guide/popular-topics/intents) enabled
1003+
- Make sure you have the required `GuildMembers` [gateway intent](https://www.discordjs.guide/legacy/popular-topics/intents) enabled
10041004
"""
10051005

10061006
[custom-client-properties]
@@ -1071,7 +1071,7 @@ HTTP-only applications receive interactions through HTTP webhooks instead of the
10711071
keywords = ["no-button"]
10721072
content = """
10731073
Only webhooks created by an application can send messages with components, so Discord knows which application to send the corresponding interactions to.
1074-
- Creating webhooks with discord.js: [learn more](https://discordjs.guide/popular-topics/webhooks.html#creating-webhooks-with-discord-js)
1074+
- Creating webhooks with discord.js: [learn more](https://www.discordjs.guide/legacy/popular-topics/webhooks#creating-webhooks-with-discordjs)
10751075
"""
10761076

10771077
[force-fetch]
@@ -1168,7 +1168,7 @@ Rate limits are determined based on the IP address of the sender.
11681168
[application-command-permissions]
11691169
keywords = ["command-permissions", "slash-permissions"]
11701170
content = """
1171-
- You can only set default permissions (member and DM) in your code. [learn more](https://discordjs.guide/slash-commands/permissions.html#member-permissions)
1171+
- You can only set default permissions (member and DM) in your code. [learn more](https://www.discordjs.guide/legacy/popular-topics/permissions#checking-member-permissions)
11721172
- Be aware that server staff can overwrite all of the suggested permissions to their liking in Server Settings > Integrations.
11731173
"""
11741174

0 commit comments

Comments
 (0)