mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Fix some documentation about the category channels (#1917)
* Document CategoryChannel * More fixes * Sorry Crawl * createChannel can return CategoryChannel * Did senks requests * I can't grammar * Other snek request
This commit is contained in:
@@ -895,7 +895,7 @@ class Guild extends Base {
|
||||
* @param {Object} [options] Options
|
||||
* @param {Array<PermissionOverwrites|ChannelCreationOverwrites>} [options.overwrites] Permission overwrites
|
||||
* @param {string} [options.reason] Reason for creating this channel
|
||||
* @returns {Promise<TextChannel|VoiceChannel>}
|
||||
* @returns {Promise<GuildChannel>}
|
||||
* @example
|
||||
* // Create a new text channel
|
||||
* guild.createChannel('new-general', 'text')
|
||||
|
||||
Reference in New Issue
Block a user