Class PrivateUser

Hierarchy (view full)

Constructors

Properties

avatar: string
badges: UserBadge[]
ban: RawBan
banner: string
blocks: number[]
blooks: Map<string, number>
claimed: string
clan?: Clan
client: Client
color: string
created: Date
exp: number
friends: User[]
id: number
inited: boolean = false
inventory: string[]
misc: RawMisc
modified: Date
moneySpent: number
mute: RawMute
otp: boolean
perms: string[]
role: string
settings: RawSettings
tokens: number
username: string

Methods

  • getAvatarUrl - Get the full URL of the user's avatar.

    Returns string

  • getBannerUrl - Get the full URL of the user's banner.

    Returns string

  • isBanned - Check if the user is banned.

    Returns boolean

  • isDeveloper - Check if the user is a developer.

    Returns boolean

  • isMuted - Check if the user is muted.

    Returns boolean

  • isOwner - Check if the user is an owner or co-owner.

    Returns boolean

  • isPlus - Check if the user has Plus.

    Returns boolean

  • isStaff - Check if the user is staff.

    Returns boolean

  • isTester - Check if the user is a tester.

    Returns boolean

  • isVerified - Check if the user is verified.

    Returns boolean