Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PresenceActivityTimestamps

Presence Activity Timestamp Structure used to describe when they started doing an activity and if they ended it or not

Hierarchy

Index

Constructors

constructor

Properties

_keys

_keys: BaseSet<string> = keysPresenceActivityTimestamps

_keysMerge

_keysMerge: BaseSet<string> = keysMergePresenceActivityTimestamps

activity

client

client: ShardClient

Optional end

end: undefined | number = 0

Optional start

start: undefined | number = 0

Accessors

elapsedTime

  • get elapsedTime(): number
  • Returns number

shardId

  • get shardId(): number
  • Returns number

totalTime

  • get totalTime(): 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