export abstract class BaseGuild extends Base
The base class for Guild, OAuth2Guild and InviteGuild.
Constructors
client: Client<true>data: RawBaseGuildData)
constructor(client: Client<true>
data: RawBaseGuildData
Constructs a new instance of the BaseGuild
class
readonlyDate createdAt :
The time this guild was created at
readonlynumber createdTimestamp :
The timestamp this guild was created at
`${GuildFeature}`[] features :
An array of features available to this guild
Snowflake id :
The guild's id
string name :
The name of this guild
readonlystring nameAcronym :
The acronym that shows up in place of a guild icon
readonlyboolean partnered :
Whether this guild is partnered
readonlyboolean verified :
Whether this guild is verified
iconURLoptions?: ImageURLOptions) : string | null (
options?: ImageURLOptions
The URL to this guild's icon.
toStringstring () :
When concatenated with a string, this automatically returns the guild's name instead of the Guild object.