docs(Message): Add ThreadChannel as a channel type (#5972)

This commit is contained in:
A1ex
2021-06-30 07:24:37 +02:00
committed by GitHub
parent ae37d202a5
commit 58bc1458d0

View File

@@ -27,14 +27,14 @@ class Message extends Base {
/** /**
* @param {Client} client The instantiating client * @param {Client} client The instantiating client
* @param {APIMessage} data The data for the message * @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) { constructor(client, data, channel) {
super(client); super(client);
/** /**
* The channel that the message was sent in * The channel that the message was sent in
* @type {TextChannel|DMChannel|NewsChannel} * @type {TextChannel|DMChannel|NewsChannel|ThreadChannel}
*/ */
this.channel = channel; this.channel = channel;