mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
Document news/store channel types on Guild#createChannel
This commit is contained in:
@@ -1047,7 +1047,7 @@ class Guild {
|
|||||||
* Creates a new channel in the guild.
|
* Creates a new channel in the guild.
|
||||||
* @param {string} name The name of the new channel
|
* @param {string} name The name of the new channel
|
||||||
* @param {string|ChannelData} [typeOrOptions='text']
|
* @param {string|ChannelData} [typeOrOptions='text']
|
||||||
* The type of the new channel, either `text` or `voice` or `category`. **(deprecated, use options)**
|
* The type of the new channel, one of `text`, `voice`, `category`, `news`, or `store`. **(deprecated, use options)**
|
||||||
* Alternatively options for the new channel, overriding the following parameters.
|
* Alternatively options for the new channel, overriding the following parameters.
|
||||||
* @param {ChannelCreationOverwrites[]|Collection<Snowflake, PermissionOverwrites>} [permissionOverwrites]
|
* @param {ChannelCreationOverwrites[]|Collection<Snowflake, PermissionOverwrites>} [permissionOverwrites]
|
||||||
* Permission overwrites **(deprecated, use options)**
|
* Permission overwrites **(deprecated, use options)**
|
||||||
|
|||||||
Reference in New Issue
Block a user