Options
All
  • Public
  • Public/Protected
  • All
Menu

Discord Session Structure (Users Only)

Hierarchy

Index

Constructors

constructor

Properties

Optional _activities

_activities: BaseCollection<string, PresenceActivity>

Readonly _keys

_keys: BaseSet<string> = ...

Readonly _keysMerge

_keysMerge: BaseSet<string> = ...

active

active: boolean = false

Readonly client

client: ShardClient

clientInfo

clientInfo: SessionClientInfo

sessionId

sessionId: string = 'all'

status

status: string = ...

Accessors

activities

activity

game

isClone

  • get isClone(): boolean

isDnd

  • get isDnd(): boolean

isIdle

  • get isIdle(): boolean

isOffline

  • get isOffline(): boolean

isOnline

  • get isOnline(): boolean

shardId

  • get shardId(): number

Methods

[custom]

  • [custom](): object

_getFromSnake

  • _getFromSnake(key: string): any

_setFromSnake

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

clone

difference

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

differences

differencesBetween

  • differencesBetween(structure: Structure): null | object

hasDifference

  • hasDifference(key: string, value: any): boolean

hasDifferences

hasDifferencesBetween

  • hasDifferencesBetween(structure: Structure): boolean

merge

mergeValue

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

toJSON

  • toJSON(): object

Generated using TypeDoc