Skip to content

Commit

Permalink
docs: incorrect returns
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewdcario committed Mar 2, 2018
1 parent fcdffcf commit 96e88f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/structures/Guild.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 96e88f3

Please # to comment.