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:
Frangu Vlad
2017-09-09 21:18:41 +03:00
committed by Crawl
parent c46c092d0d
commit 5b46ae59bd
3 changed files with 15 additions and 3 deletions

View File

@@ -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')