From c36328252351cf874775863a76c1e38360e52bdf Mon Sep 17 00:00:00 2001 From: iTzDearkunG <43856376+DearTanakorn@users.noreply.github.com> Date: Sun, 10 Nov 2019 23:25:36 +0700 Subject: [PATCH 1/2] Update ping.js --- Ep_04/commands/info/ping.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ep_04/commands/info/ping.js b/Ep_04/commands/info/ping.js index fd71ee1..bcfa946 100644 --- a/Ep_04/commands/info/ping.js +++ b/Ep_04/commands/info/ping.js @@ -5,7 +5,7 @@ module.exports = { const msg = await message.channel.send(`🏓 Pinging....`); msg.edit(`🏓 Pong! - Latency is ${Math.floor(msg.createdTimestap - message.createdTimestap)}ms + Latency is ${Math.floor(msg.createdTimestamp - message.createdTimestamp)}ms API Latency is ${Math.round(client.ping)}ms`); } } From 56e34a2468e3481689d474b27973256b7c8f39b9 Mon Sep 17 00:00:00 2001 From: iTzDearkunG <43856376+DearTanakorn@users.noreply.github.com> Date: Tue, 12 Nov 2019 20:50:03 +0700 Subject: [PATCH 2/2] Update ping.js --- Ep_04/commands/info/ping.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Ep_04/commands/info/ping.js b/Ep_04/commands/info/ping.js index bcfa946..c789589 100644 --- a/Ep_04/commands/info/ping.js +++ b/Ep_04/commands/info/ping.js @@ -6,6 +6,7 @@ module.exports = { msg.edit(`🏓 Pong! Latency is ${Math.floor(msg.createdTimestamp - message.createdTimestamp)}ms + // change Timestap to TimeStamp API Latency is ${Math.round(client.ping)}ms`); } }