Constructors
constructor
- new Guild(__namedParameters: { features: any[]; icon: any; id: any; name: any; owner: boolean; permissions: number }): Guild
-
Parameters
-
__namedParameters: { features: any[]; icon: any; id: any; name: any; owner: boolean; permissions: number }
-
features: any[]
-
icon: any
-
id: any
-
name: any
-
owner: boolean
-
permissions: number
Properties
Readonly features
features: string[]
Readonly iconHash
iconHash: string
Readonly isOwner
isOwner: boolean
Readonly name
name: string
Readonly permissions
permissions: string[]
Accessors
createdTimestamp
- get createdTimestamp(): number
Methods
iconUrl
- iconUrl(size?: number): string
-
Parameters
-
Default value size: number = 512
Returns string
Private parsePermissions
- parsePermissions(perms: number): any[]
A list of the discord-enabled features of the guild.