OAuth2Guild
classe · Source
A partial guild received when using GuildManager#fetch to fetch multiple guilds.
Extends: BaseGuild
Properties
owner
Whether the client user is the owner of the guild Source
permissions
The permissions that the client user has in this guild 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
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