From 5c52bb95906250518a8813820d543f43dd7abdf9 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Fri, 21 Apr 2023 21:43:17 +0100 Subject: [PATCH] docs(BaseMessageOptions): Fix embeds and components (#9437) docs(BaseMessageOptions): fix embeds and components Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .../src/structures/interfaces/TextBasedChannel.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/discord.js/src/structures/interfaces/TextBasedChannel.js b/packages/discord.js/src/structures/interfaces/TextBasedChannel.js index d9e1cb24f..97bc33731 100644 --- a/packages/discord.js/src/structures/interfaces/TextBasedChannel.js +++ b/packages/discord.js/src/structures/interfaces/TextBasedChannel.js @@ -56,12 +56,12 @@ class TextBasedChannel { * The base message options for messages. * @typedef {Object} BaseMessageOptions * @property {string|null} [content=''] The content for the message. This can only be `null` when editing a message. - * @property {Embed[]|APIEmbed[]} [embeds] The embeds for the 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) - * @property {AttachmentBuilder[]|Attachment[]|AttachmentPayload[]|BufferResolvable[]} [files] + * @property {Array<(AttachmentBuilder|Attachment|AttachmentPayload|BufferResolvable)>} [files] * The files to send with the message. - * @property {ActionRow[]|ActionRowBuilder[]} [components] + * @property {Array<(ActionRowBuilder|ActionRow|APIActionRowComponent)>} [components] * Action rows containing interactive components for the message (buttons, select menus) */