Abstract
The base class for Guild, OAuth2Guild and InviteGuild.
Extends
BaseConstructs a new instance of the
BaseGuild class| Name | Type | Optional | Description |
|---|---|---|---|
| client | Client<true> | No | None |
| data | RawBaseGuildData | No | None |
Fetches this guild.
The URL to this guild's icon.
Returns
| Name | Type | Optional | Description |
|---|---|---|---|
| options | ImageURLOptions | Yes | Options for the image URL |
When concatenated with a string, this automatically returns the guild's name instead of the Guild object.