From 96e88f3cefa7b7c37426721c8bc3ff760b4e1d51 Mon Sep 17 00:00:00 2001 From: Lewdcario Date: Thu, 1 Mar 2018 22:38:55 -0600 Subject: [PATCH] docs: incorrect returns --- src/structures/Guild.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) {