Class Time

Constructors

Properties

connect: null | number = null

When the first shard connect happened, reset if all shards disconnect.

disconnect: null | number = null

When all shards disconnected, reset on any shard connect.

ready: null | number = null

When the first shard ready happened, reset if all shards disconnect.

shardConnect: null | number = null

When the most recent shard connect happened.

shardDisconnect: null | number = null

When the most recent shard disconnect happened.

shardPreReady: null | number = null

When the most recent shard pre-ready happened.

shardReady: null | number = null

When the most recent shard ready happened.

shardResume: null | number = null

When the most recent shard resume happened.

start: null | number = null

When the client started.

Methods

  • Internal

    Parameters

    • type: "connect" | "disconnect" | "ready" | "start" | "preReady" | "resume"
    • value: number

    Returns void