mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 21:13:30 +01:00
docs(BaseGuildTextChannel): Update setType()'s parameter type (#8088)
This commit is contained in:
@@ -90,8 +90,9 @@ class BaseGuildTextChannel extends GuildChannel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the type of this channel (only conversion between text and news is supported)
|
* Sets the type of this channel.
|
||||||
* @param {string} type The new channel type
|
* <info>Only conversion between {@link TextChannel} and {@link NewsChannel} is supported.</info>
|
||||||
|
* @param {ChannelType.GuildText|ChannelType.GuildNews} type The new channel type
|
||||||
* @param {string} [reason] Reason for changing the channel's type
|
* @param {string} [reason] Reason for changing the channel's type
|
||||||
* @returns {Promise<GuildChannel>}
|
* @returns {Promise<GuildChannel>}
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user