chore: deprecate Guild.fetchVanityCode()

This commit is contained in:
Johnson Chen
2020-04-20 00:53:53 +10:00
parent 5af1a552bc
commit f0643d4349

View File

@@ -727,6 +727,7 @@ class Guild extends Base {
* Fetches the vanity url invite code to this guild.
* Resolves with a string matching the vanity url invite code, not the full url.
* @returns {Promise<string>}
* @deprecated
* @example
* // Fetch invites
* guild.fetchVanityCode()