AnonymousGuild
classe · Source
Bundles common attributes and methods between Guild and InviteGuild
Extends: BaseGuild
Properties
splash
The hash of the guild invite splash image Source
banner
The hash of the guild banner Source
description
The description of the guild, if any Source
verificationLevel
The verification level of the guild Source
vanityURLCode
The vanity invite code of the guild, if any Source
nsfwLevel
The NSFW level of this guild Source
premiumSubscriptionCount
The total number of boosts for this server Source
id
The guild's id Source
name
The name of this guild Source
icon
The icon hash of this guild Source
features
An array of features available to this guild Source
createdTimestamp
The timestamp this guild was created at Source
createdAt
The time this guild was created at Source
nameAcronym
The acronym that shows up in place of a guild icon Source
partnered
Whether this guild is partnered Source
verified
Whether this guild is verified Source
client
The client that instantiated this Source
Methods
bannerURL
The URL to this guild's banner. Parameters
| Name | Type | Description |
|---|---|---|
options? | StaticImageURLOptions | Options for the Image URL Default: {}. |
Returns: stringSource
splashURL
The URL to this guild's invite splash image. Parameters
| Name | Type | Description |
|---|---|---|
options? | StaticImageURLOptions | Options for the Image URL Default: {}. |
Returns: stringSource
iconURL
The URL to this guild's icon. Parameters
| Name | Type | Description |
|---|---|---|
options? | ImageURLOptions | Options for the Image URL Default: {}. |
Returns: stringSource
fetch
Fetches this guild. Returns: Promise<Guild>Source
toString
When concatenated with a string, this automatically returns the guild's name instead of the Guild object. Returns: stringSource