Options
All
  • Public
  • Public/Protected
  • All
Menu

Class User

Hierarchy

  • User

Index

Constructors

  • new User(name: string, color: string, home?: string): User
  • Parameters

    • name: string
    • color: string
    • Optional home: string

    Returns User

Properties

color: string
home?: string
name: string

Methods

  • setColor(color: string): User
  • setName(name: string): User
  • toArray(bot?: boolean): string[]
  • Parameters

    • bot: boolean = true

    Returns string[]

Generated using TypeDoc