OAuth2Guild

export class OAuth2Guild extends BaseGuild
export class OAuth2Guild extends BaseGuild
A partial guild received when using to fetch multiple guilds.

Extends

BaseGuild
Readonly
client:Client<true>
The client that instantiated this
Inherited from Base
Readonly
createdAt:Date
The time this guild was created at
Inherited from BaseGuild
Readonly
createdTimestamp:number
The timestamp this guild was created at
Inherited from BaseGuild
features:`${GuildFeature}`[]
An array of features available to this guild
Inherited from BaseGuild
icon:string | null
The icon hash of this guild
Inherited from BaseGuild
The guild's id
Inherited from BaseGuild
name:string
The name of this guild
Inherited from BaseGuild
Readonly
nameAcronym:string
The acronym that shows up in place of a guild icon
Inherited from BaseGuild
owner:boolean
Whether the client user is the owner of the guild
Readonly
partnered:boolean
Whether this guild is partnered
Inherited from BaseGuild
The permissions that the client user has in this guild
Readonly
verified:boolean
Whether this guild is verified
Inherited from BaseGuild
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
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