Hierarchy (view full)

Properties

accentColor: null | number

The user's banner color encoded as an integer representation of hexadecimal color code

For example: 0xff0000 for red

avatar: null | string
banner: null | string

Banner hash

bot: boolean
discriminator: string
globalName: null | string

Global nickname

id: string
locale: null | string
premiumType: null | PremiumType
publicFlags: null | UserFlags
system: null | boolean
username: string

Methods

  • Parameters

    Returns string

    a url to the user's avatar with the desired size (defaults to 256)

  • Returns Date

    a timestamp for when the user was created

  • Returns string

Generated using TypeDoc