Skip to content

Commit

Permalink
Add client property to Shard type. (#476)
Browse files Browse the repository at this point in the history
Allows finding the client that a structure belongs to
  • Loading branch information
Ayplow authored and abalabahaha committed Apr 19, 2019
1 parent 19257d5 commit 73d46f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Expand Up @@ -1427,6 +1427,7 @@ declare module "eris" {
public lastHeartbeatReceived: number;
public lastHeartbeatSent: number;
public latency: number;
public client: Client;
public constructor(id: number, client: Client);
public connect(): void;
public disconnect(options?: { reconnect: boolean }): void;
Expand Down

0 comments on commit 73d46f1

Please sign in to comment.