Skip to content

GuildVanity

GuildVanity ⇐ Base

Represents a Guild Vanity URL.

Kind: global class
Extends: Base

new GuildVanity([data], guildId, client)

Constructs a new instance of the class.

ParamTypeDescription
[data]ObjectThe data object containing the initial values for the instance.
guildIdstringThe ID of the guild.
clientClientThe client instance.

guildVanity.guild ⇒

Get the guild object associated with this guildId.

Kind: instance property of GuildVanity
Returns: The guild object.