Represents a user on Guilded.

Example

new User(client, rawUser);

Hierarchy

Constructors

Properties

avatar?: string

The avatar of the user.

banner?: string

The banner of the user.

client: Client
createdAt?: Date

The date the user was created.

id: string
name: string

The name of the user.

type?: UserType

The type of the user.

Accessors

  • get createdTimestamp(): undefined | number
  • The timestamp the user was created.

    Returns undefined | number

  • get isBot(): boolean
  • Whether the user is a bot.

    Returns boolean

  • get isCached(): boolean
  • Whether the user is cached.

    Returns boolean

  • get isUser(): boolean
  • Whether the user is a human.

    Returns boolean