gluon
    Preparing search index...

    Class default

    Index

    Constructors

    • Parameters

      • client: Client
      • token: string
      • url: string
      • shardId: number
      • sessionId: null | string = null
      • sequence: null | number = null
      • resumeGatewayUrl: null | string = null

      Returns default

    Properties

    shard: number
    terminateSocketTimeout: null | Timeout = null
    zlib?: Inflate

    Accessors

    Methods

    • Returns { lastReconnect: any; latency: number; shard: number; websocketState: any }

    • Returns {
          resumeGatewayUrl: null | string;
          sequence: null | number;
          sessionId: null | string;
      }

    • Parameters

      • name: string
      • Optionaltype: ActivityType
      • Optionalstatus: PresenceUpdateStatus
      • Optionalafk: boolean
      • Optionalsince: null | number

      Returns void