docs: incorrect returns

This commit is contained in:
Lewdcario
2018-03-01 22:38:55 -06:00
parent fcdffcf623
commit 96e88f3cef

View File

@@ -477,7 +477,7 @@ class Guild {
/** /**
* Fetch all webhooks for the guild. * Fetch all webhooks for the guild.
* @returns {Collection<Snowflake, Webhook>} * @returns {Promise<Collection<Snowflake, Webhook>>}
* @example * @example
* // Fetch webhooks * // Fetch webhooks
* guild.fetchWebhooks() * guild.fetchWebhooks()
@@ -490,7 +490,7 @@ class Guild {
/** /**
* Fetch available voice regions. * Fetch available voice regions.
* @returns {Collection<string, VoiceRegion>} * @returns {Promise<Collection<string, VoiceRegion>>}
* @example * @example
* // Fetch voice regions * // Fetch voice regions
* guild.fetchVoiceRegions() * guild.fetchVoiceRegions()
@@ -732,7 +732,7 @@ class Guild {
* @example * @example
* // Edit the guild AFK channel * // Edit the guild AFK channel
* guild.setAFKChannel(channel) * guild.setAFKChannel(channel)
* .then(g => console.log(`Updated guild AFK channel to ${g.afkChannel}`)) * .then(g => console.log(`Updated guild AFK channel to ${g.afkChannel.name}`))
* .catch(console.error); * .catch(console.error);
*/ */
setAFKChannel(afkChannel, reason) { setAFKChannel(afkChannel, reason) {