Skip to content

Commit 458a737

Browse files
authored
chore: tags (#202)
* update documentation links to the new website
1 parent ec38dfc commit 458a737

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

tags/tags.toml

+19-19
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ To make your code more readable (and easier for us to help you with) consider us
179179
keywords = ["djsdocs", "thedocs", "documentation"]
180180
content = """
181181
discord.js documentation:
182-
- stable release: [learn more](https://old.discordjs.dev/#/docs/discord.js/14.14.1/general/welcome)
183-
- developer release: [learn more](https://old.discordjs.dev/#/docs/discord.js/main/general/welcome)
182+
- stable release: [learn more](https://discord.js.org/docs/packages/discord.js/stable)
183+
- developer release: [learn more](https://discord.js.org/docs/packages/discord.js/main)
184184
"""
185185

186186
[snipe]
@@ -330,9 +330,9 @@ content = """
330330
keywords = ["enable-mentions", "disable-mentions", "allow-mentions"]
331331
content = """
332332
You can control which entities receive notifications via the `allowedMentions` option. You can:
333-
- Set a [default on the client](https://old.discordjs.dev/#/docs/discord.js/14.14.1/typedef/ClientOptions)
334-
- Set for a [specific message](https://old.discordjs.dev/#/docs/discord.js/14.14.1/typedef/MessageMentionOptions)
335-
- Use the `repliedUser` key to disable [in-line reply mentions](https://old.discordjs.dev/#/docs/discord.js/14.14.1/typedef/MessageMentionOptions)
333+
- Set a [default on the client](https://discord.js.org/docs/packages/discord.js/stable/ClientOptions:Interface)
334+
- Set for a [specific message](https://discord.js.org/docs/packages/discord.js/stable/MessageMentionOptions:Interface)
335+
- Use the `repliedUser` key to disable [in-line reply mentions](https://discord.js.org/docs/packages/discord.js/stable/MessageMentionOptions:Interface)
336336
```js
337337
{ ..., allowedMentions: { parse: ["users", "roles"] } }
338338
```
@@ -488,7 +488,7 @@ content = """
488488
const client = new Discord.Client({ shards: 'auto' }); // auto shards
489489
const client = new Discord.Client({ shards: [0, 1] }); // specific shards
490490
```
491-
- Sharding manager: [learn more](https://old.discordjs.dev/#/docs/discord.js/14.14.1/class/ShardingManager)
491+
- Sharding manager: [learn more](https://discord.js.org/docs/packages/discord.js/stable/ShardingManager:Class)
492492
"""
493493

494494
[2fa]
@@ -555,15 +555,15 @@ https://discord.com/oauth2/authorize?client_id=CLIENT_ID&scope=bot&permissions=0
555555
- `CLIENT_ID` needs to be replaced with your bot id
556556
- Permission calculator: [learn more](https://finitereality.github.io/permissions-calculator)
557557
- `bot` scope includes `applications.commands`. If you don't need the bot, use `applications.commands` instead
558-
- You can use #generateInvite instead: [learn more](https://old.discordjs.dev/#/docs/discord.js/14.14.1/class/Client?scrollTo=generateInvite)
558+
- You can use #generateInvite instead: [learn more](https://discord.js.org/docs/packages/discord.js/stable/Client:Class#generateInvite)
559559
"""
560560

561561
[version]
562562
keywords = ["discord.js-version", "provide-version", "find-version"]
563563
content = """
564564
Determining your discord.js version:
565565
- `npm list discord.js`
566-
- Make sure you use the right [documentation](https://old.discordjs.dev/#/docs) for your installed version (selector on the left)
566+
- Make sure you use the right [documentation](https://discord.js.org/docs/packages/discord.js/stable) for your installed version (selector on the left)
567567
"""
568568

569569
[token]
@@ -678,9 +678,9 @@ Checking for things to not be equal in JavaScript:
678678
keywords = ["memberuser", "user-member", "usermember"]
679679
content = """
680680
Despite sounding similar there is a distinct difference between users and members in Discord:
681-
- [User](https://old.discordjs.dev/#/docs/discord.js/14.14.1/class/User): global Discord user data (global avatar, username, tag, id)
682-
- [GuildMember](https://old.discordjs.dev/#/docs/discord.js/14.14.1/class/GuildMember): user data associated to a guild (guild, nickname, roles, voice, guild avatar, etc.)
683-
- Conversion: [User ➞ GuildMember](https://old.discordjs.dev/#/docs/discord.js/14.14.1/class/GuildMemberManager?scrollTo=fetch) | [GuildMember ➞ User](https://old.discordjs.dev/#/docs/discord.js/14.14.1/class/GuildMember?scrollTo=user)
681+
- [User](https://discord.js.org/docs/packages/discord.js/stable/User:Class): global Discord user data (global avatar, username, tag, id)
682+
- [GuildMember](https://discord.js.org/docs/packages/discord.js/stable/GuildMember:Class): user data associated to a guild (guild, nickname, roles, voice, guild avatar, etc.)
683+
- Conversion: [User ➞ GuildMember](https://discord.js.org/docs/packages/discord.js/stable/GuildMemberManager:Class#fetch) | [GuildMember ➞ User](https://discord.js.org/docs/packages/discord.js/stable/GuildMember:Class#user)
684684
\\* *Note: Events received in cached guilds will often have both the member and user available, eg. `interaction.user` and `interaction.member`*
685685
"""
686686

@@ -755,25 +755,25 @@ hoisted = true
755755
keywords = ["discord.js-stable", "install-stable", "djs-stable", "install-djs"]
756756
content = """
757757
To install run: `npm install discord.js`
758-
- Documentation: [learn more](https://old.discordjs.dev/#/docs/discord.js/14.14.1/general/welcome)
758+
- Documentation: [learn more](https://discord.js.org/docs/packages/discord.js/stable)
759759
- Guide: [learn more](https://discordjs.guide)
760760
"""
761761
hoisted = true
762762

763763
[tag-username]
764764
keywords = ["tagusername", "tag-username-difference"]
765765
content = """
766-
[user.username](https://old.discordjs.dev/#/docs/discord.js/14.14.1/class/User?scrollTo=username) ➞ `d.js docs`
767-
[user.globalName](https://old.discordjs.dev/#/docs/discord.js/14.14.1/class/User?scrollTo=globalName) global display name (users only)
768-
[user.discriminator](https://old.discordjs.dev/#/docs/discord.js/14.14.1/class/User?scrollTo=discriminator) ➞ `0` | `1083` \\*
769-
[user.tag](https://old.discordjs.dev/#/docs/discord.js/14.14.1/class/User?scrollTo=tag) ➞ `d.js docs` | `d.js docs#1083` \\*
766+
[user.username](https://discord.js.org/docs/packages/discord.js/stable/User:Class#username) ➞ `d.js docs`
767+
[user.globalName](https://discord.js.org/docs/packages/discord.js/stable/User:Class#globalName) global display name (users only)
768+
[user.discriminator](https://discord.js.org/docs/packages/discord.js/stable/User:Class#discriminator) ➞ `0` | `1083` \\*
769+
[user.tag](https://discord.js.org/docs/packages/discord.js/stable/User:Class#tag) ➞ `d.js docs` | `d.js docs#1083` \\*
770770
\\* *Note: The discriminator approach is mostly relevant to bots now, which are not currently transferred to the unique username system!*
771771
"""
772772

773773
[boost-event]
774774
keywords = ["boost", "boostevent"]
775775
content = """
776-
The Discord API does not provide a dedicated event for guild boosts, but you can check for it in the [guildMemberUpdate](https://old.discordjs.dev/#/docs/discord.js/14.14.1/class/Client?scrollTo=e-guildMemberUpdate) event:
776+
The Discord API does not provide a dedicated event for guild boosts, but you can check for it in the [guildMemberUpdate](https://discord.js.org/docs/packages/discord.js/stable/Client:Class#guildMemberUpdate) event:
777777
```js
778778
client.on("guildMemberUpdate", (oldMember, newMember) => {
779779
// Check if the member wasn't boosting before, but is now.
@@ -835,9 +835,9 @@ Ratelimits are dynamically assigned by the API based on current load and may cha
835835
keywords = ["abort-error"]
836836
content = """
837837
`AbortError: The user aborted a request.`
838-
A request took longer than the specified [timeout](https://discordjs.dev/docs/packages/rest/stable/RESTOptions:Interface#timeout) (15 seconds default), and was aborted to not lock up the request handler.
838+
A request took longer than the specified [timeout](https://discord.js.org/docs/packages/rest/stable/RESTOptions:Interface#timeout) (15 seconds default), and was aborted to not lock up the request handler.
839839
- This can be caused by an internal server error on Discord's side, or just a slow connection.
840-
- In case of a slow connection, the `timeout` option in [RESTOptions](https://discordjs.dev/docs/packages/rest/stable/RESTOptions:Interface#timeout) can be increased to prevent future AbortErrors.
840+
- In case of a slow connection, the `timeout` option in [RESTOptions](https://discord.js.org/docs/packages/rest/stable/RESTOptions:Interface#timeout) can be increased to prevent future AbortErrors.
841841
"""
842842

843843
[v14-changes]

0 commit comments

Comments
 (0)