diff --git a/src/client/client.ts b/src/client/client.ts index c7afd87..0582727 100644 --- a/src/client/client.ts +++ b/src/client/client.ts @@ -55,11 +55,7 @@ export class Client extends BaseClient { } get latency() { - let acc = 0; - - this.gateway.forEach(s => (acc += s.latency)); - - return acc / this.gateway.size; + return this.gateway.latency; } async loadEvents(dir?: string) {