From 64c7dd5dd7af84b9820e187819ffc390a420cc06 Mon Sep 17 00:00:00 2001 From: Cinnamon <71698422+aiko-chan-ai@users.noreply.github.com> Date: Fri, 24 Jun 2022 08:47:30 +0700 Subject: [PATCH] docs: `TextBasedChannel`-> `TextBasedChannels` typos (v13) https://github.com/discordjs/discord.js/pull/8155 --- src/structures/Message.js | 2 +- src/structures/MessagePayload.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/Message.js b/src/structures/Message.js index 114c937..c050abf 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -388,7 +388,7 @@ class Message extends Base { /** * The channel that the message was sent in - * @type {TextBasedChannel} + * @type {TextBasedChannels} * @readonly */ get channel() { diff --git a/src/structures/MessagePayload.js b/src/structures/MessagePayload.js index fd6bf3c..4eedf4b 100644 --- a/src/structures/MessagePayload.js +++ b/src/structures/MessagePayload.js @@ -309,7 +309,7 @@ module.exports = MessagePayload; /** * A target for a message. - * @typedef {TextBasedChannel|DMChannel|User|GuildMember|Webhook|WebhookClient|Interaction|InteractionWebhook| + * @typedef {TextBasedChannels|DMChannel|User|GuildMember|Webhook|WebhookClient|Interaction|InteractionWebhook| * Message|MessageManager} MessageTarget */