Skip to content

Commit

Permalink
docs: TextBasedChannel -> TextBasedChannels typos (#8110)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Jun 18, 2022
1 parent 0673ea3 commit db663a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ class Message extends Base {

/**
* The channel that the message was sent in
* @type {TextBasedChannel}
* @type {TextBasedChannels}
* @readonly
*/
get channel() {
Expand Down
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/MessagePayload.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ module.exports = MessagePayload;

/**
* A target for a message.
* @typedef {TextBasedChannel|User|GuildMember|Webhook|WebhookClient|Interaction|InteractionWebhook|
* @typedef {TextBasedChannels|User|GuildMember|Webhook|WebhookClient|Interaction|InteractionWebhook|
* Message|MessageManager} MessageTarget
*/

Expand Down

0 comments on commit db663a5

Please sign in to comment.