Skip to content

Commit

Permalink
docs(Message): Add ThreadChannel as a channel type (#5972)
Browse files Browse the repository at this point in the history
  • Loading branch information
a9ex committed Jun 30, 2021
1 parent ae37d20 commit 58bc145
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structures/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ class Message extends Base {
/**
* @param {Client} client The instantiating client
* @param {APIMessage} data The data for the message
* @param {TextChannel|DMChannel|NewsChannel} channel The channel the message was sent in
* @param {TextChannel|DMChannel|NewsChannel|ThreadChannel} channel The channel the message was sent in
*/
constructor(client, data, channel) {
super(client);

/**
* The channel that the message was sent in
* @type {TextChannel|DMChannel|NewsChannel}
* @type {TextChannel|DMChannel|NewsChannel|ThreadChannel}
*/
this.channel = channel;

Expand Down

0 comments on commit 58bc145

Please sign in to comment.