docs: incorrect returns

This commit is contained in:
Lewdcario 2018-03-01 22:38:55 -06:00
parent fcdffcf623
commit 96e88f3cef
No known key found for this signature in database
GPG key ID: F9A141E5527C6660

View file

@ -477,7 +477,7 @@ class Guild {
/**
* Fetch all webhooks for the guild.
* @returns {Collection<Snowflake, Webhook>}
* @returns {Promise<Collection<Snowflake, Webhook>>}
* @example
* // Fetch webhooks
* guild.fetchWebhooks()
@ -490,7 +490,7 @@ class Guild {
/**
* Fetch available voice regions.
* @returns {Collection<string, VoiceRegion>}
* @returns {Promise<Collection<string, VoiceRegion>>}
* @example
* // Fetch voice regions
* guild.fetchVoiceRegions()
@ -732,7 +732,7 @@ class Guild {
* @example
* // Edit the guild AFK 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);
*/
setAFKChannel(afkChannel, reason) {