mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +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)
|
||||
* @param {string} type The new channel type
|
||||
* Sets the type of this channel.
|
||||
* <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
|
||||
* @returns {Promise<GuildChannel>}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user