You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
- 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)
567
567
"""
568
568
569
569
[token]
@@ -678,9 +678,9 @@ Checking for things to not be equal in JavaScript:
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.)
- [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.)
\\* *Note: The discriminator approach is mostly relevant to bots now, which are not currently transferred to the unique username system!*
771
771
"""
772
772
773
773
[boost-event]
774
774
keywords = ["boost", "boostevent"]
775
775
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:
// 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
835
835
keywords = ["abort-error"]
836
836
content = """
837
837
`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.
839
839
- 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.
0 commit comments