docs: update discord documentation links (#10484)

This commit is contained in:
Danial Raza
2024-09-10 21:23:53 +02:00
committed by GitHub
parent 8a74f144ac
commit 799fa54fa4
3 changed files with 16 additions and 16 deletions

View File

@@ -359,7 +359,7 @@ class Message extends Base {
* * {@link MessageType.ChannelFollowAdd}
* * {@link MessageType.Reply}
* * {@link MessageType.ThreadStarterMessage}
* @see {@link https://discord.com/developers/docs/resources/channel#message-types}
* @see {@link https://discord.com/developers/docs/resources/message#message-object-message-types}
* @typedef {Object} MessageReference
* @property {Snowflake} channelId The channel id that was referenced
* @property {Snowflake|undefined} guildId The guild id that was referenced

View File

@@ -75,7 +75,7 @@ class TextBasedChannel {
* @property {?string} [content=''] The content for the message. This can only be `null` when editing a message.
* @property {Array<(EmbedBuilder|Embed|APIEmbed)>} [embeds] The embeds for the message
* @property {MessageMentionOptions} [allowedMentions] Which mentions should be parsed from the message content
* (see [here](https://discord.com/developers/docs/resources/channel#allowed-mentions-object) for more details)
* (see [here](https://discord.com/developers/docs/resources/message#allowed-mentions-object) for more details)
* @property {Array<(AttachmentBuilder|Attachment|AttachmentPayload|BufferResolvable)>} [files]
* The files to send with the message.
* @property {Array<(ActionRowBuilder|ActionRow|APIActionRowComponent)>} [components]