Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Profile

User Profile Structure only non-bots will ever see these

Hierarchy

Index

Constructors

constructor

Properties

_keys

_keys: BaseSet<string> = keysProfile

client

client: ShardClient

connectedAccounts

connectedAccounts: BaseCollection<string, ConnectedAccount> = new BaseCollection<string, ConnectedAccount>()

mutualGuilds

mutualGuilds: BaseCollection<string, object> = new BaseCollection<string, {id: string, nick: null | string}>()

nicks

nicks: BaseCollection<string, string> = new BaseCollection<string, string>()

premiumGuildSinceUnix

premiumGuildSinceUnix: number = 0

premiumSinceUnix

premiumSinceUnix: number = 0

user

Accessors

premiumGuildSince

  • get premiumGuildSince(): Date | null
  • Returns Date | null

premiumSince

  • get premiumSince(): Date | null
  • Returns Date | null

shardId

  • get shardId(): number
  • Returns number

Methods

[inspect.custom]

  • [inspect.custom](): object

_getFromSnake

  • _getFromSnake(key: string): any
  • Parameters

    • key: string

    Returns any

_setFromSnake

  • _setFromSnake(key: string, value: any): any
  • Parameters

    • key: string
    • value: any

    Returns any

difference

  • difference(key: string, value: any): [boolean, any]
  • Parameters

    • key: string
    • value: any

    Returns [boolean, any]

differences

merge

mergeValue

  • mergeValue(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

toJSON

  • toJSON(): object
  • Returns object

Generated using TypeDoc