From 59ad48074ba3f047e178aa410cbb547ef4c46207 Mon Sep 17 00:00:00 2001 From: Johnson Chen Date: Mon, 20 Apr 2020 04:05:51 +1000 Subject: [PATCH] chore: update Vanity typedef --- src/structures/Guild.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 7fe6d312b..5e9c01541 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -754,16 +754,16 @@ class Guild extends Base { } /** - * An object containing information about a guild's vanity url. - * @typedef {Object} VanityData - * @property {?string} code Vanity URL invite code, not the full url - * @property {?number} uses How many times this invite has been used + * 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 */ /** * Fetches the vanity url invite object to this guild. * Resolves with an object containing the vanity url invite code and the use count - * @returns {Promise} + * @returns {Promise} * @example * // Fetch invite data * guild.fetchVanityData()