Team

export class Team extends Base
export class Team extends Base
Represents a Client OAuth2 Application Team.

Extends

Base
Readonly
client:Client<true>
The client that instantiated this
Inherited from Base
Readonly
createdAt:Date
The time the team was created at
Readonly
createdTimestamp:number
The timestamp the team was created at
icon:string | null
The Team's icon hash
The Team's id
The Team's members
name:string
The name of the Team
Readonly
owner:TeamMember | null
The owner of this team
ownerId:Snowflake | null
The Team's owner id
iconURL(options?):string | null
A link to the team's icon.
Returns
NameTypeOptionalDescription
optionsImageURLOptionsYesOptions for the image URL
toJSON():unknown
toString():string
When concatenated with a string, this automatically returns the Team's name instead of the Team object.
valueOf():string