From b82d9a38f02567eaa686c10b84faddd947bb7648 Mon Sep 17 00:00:00 2001 From: Johnson Chen Date: Thu, 23 Apr 2020 17:00:03 +1000 Subject: [PATCH] docs: update jsdoc --- src/structures/Guild.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 5e9c01541..7e7b21c2e 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -757,7 +757,7 @@ class Guild extends Base { * An object containing information about a guild's vanity invite. * @typedef {Object} Vanity * @property {?string} code Vanity invite code - * @property {?number} uses How many times this invite has been used, must be fetched at least once + * @property {?number} uses How many times this invite has been used */ /** @@ -768,7 +768,7 @@ class Guild extends Base { * // Fetch invite data * guild.fetchVanityData() * .then(res => { - * console.log(`Vanity URL: https://discord.gg/${res.code}`); + * console.log(`Vanity URL: https://discord.gg/${res.code} with ${res.uses} uses`); * }) * .catch(console.error); */