InviteGuild

export class InviteGuild extends AnonymousGuild
export class InviteGuild extends AnonymousGuild
Represents a guild received from an invite, includes welcome screen data if available.
Readonly
client:Client
The client that instantiated this
Readonly
createdAt:Date
The time this guild was created at
Readonly
createdTimestamp:number
The timestamp this guild was created at
description?:string
The description of the guild, if any
An array of features available to this guild
icon?:string
The icon hash of this guild
The guild's id
name:string
The name of this guild
Readonly
nameAcronym:string
The acronym that shows up in place of a guild icon
nsfwLevel:GuildNSFWLevel
The NSFW level of this guild
Readonly
partnered:boolean
Whether this guild is partnered
premiumSubscriptionCount?:number
The total number of boosts for this server
splash?:string
The hash of the guild invite splash image
vanityURLCode?:string
The vanity invite code of the guild, if any
verificationLevel:GuildVerificationLevel
The verification level of the guild
Readonly
verified:boolean
Whether this guild is verified
welcomeScreen:WelcomeScreen | null
The welcome screen for this invite guild
bannerURL(options?):string | null
The URL to this guild's banner.
Returns
NameTypeOptionalDescription
optionsImageURLOptionsYesOptions for the image URL
Inherited from AnonymousGuild
fetch():Promise<Guild>
Fetches this guild.
Inherited from BaseGuild
iconURL(options?):string | null
The URL to this guild's icon.
Returns
NameTypeOptionalDescription
optionsImageURLOptionsYesOptions for the image URL
Inherited from BaseGuild
splashURL(options?):string | null
The URL to this guild's invite splash image.
Returns
NameTypeOptionalDescription
optionsImageURLOptionsYesOptions for the image URL
Inherited from AnonymousGuild
toJSON(...props):unknown
NameTypeOptionalDescription
...propsRecord<string, boolean | string>[]NoNone
Inherited from Base
toString():string
When concatenated with a string, this automatically returns the guild's name instead of the Guild object.
Inherited from BaseGuild
valueOf():string