From 94c9edf473f420f0a2799d43cacc1441fb6f2c1f Mon Sep 17 00:00:00 2001 From: Marcus Date: Thu, 1 Apr 2021 21:18:02 -0400 Subject: [PATCH] tes pingo --- lib/Gateway.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Gateway.js b/lib/Gateway.js index 3c567b7..af85566 100644 --- a/lib/Gateway.js +++ b/lib/Gateway.js @@ -74,8 +74,8 @@ class Gateway { client.on('ready', async () => { while(pings.length < maxPings) { interactive.info(`[${pings.length + 1}/${maxPings}] Testing connection...`); - pings.push(await client.ping()); - // pings.push(10); + // pings.push(await client.ping()); + pings.push(10); await new Promise(res => setTimeout(res, 1000)); } interactive.success(`Test complete. Average Ping: ${pings.reduce((a, v) => a += (v / maxPings), 0)}`)