diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 5556a2f42..511da3613 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -477,7 +477,7 @@ class Guild { /** * Fetch all webhooks for the guild. - * @returns {Collection} + * @returns {Promise>} * @example * // Fetch webhooks * guild.fetchWebhooks() @@ -490,7 +490,7 @@ class Guild { /** * Fetch available voice regions. - * @returns {Collection} + * @returns {Promise>} * @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) {