mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
chore: deprecate Guild.fetchVanityCode()
This commit is contained in:
@@ -727,6 +727,7 @@ class Guild extends Base {
|
|||||||
* Fetches the vanity url invite code to this guild.
|
* Fetches the vanity url invite code to this guild.
|
||||||
* Resolves with a string matching the vanity url invite code, not the full url.
|
* Resolves with a string matching the vanity url invite code, not the full url.
|
||||||
* @returns {Promise<string>}
|
* @returns {Promise<string>}
|
||||||
|
* @deprecated
|
||||||
* @example
|
* @example
|
||||||
* // Fetch invites
|
* // Fetch invites
|
||||||
* guild.fetchVanityCode()
|
* guild.fetchVanityCode()
|
||||||
|
|||||||
Reference in New Issue
Block a user