From 4c04df0333f3328b0b0e021d7ac212bff5785c34 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sun, 22 Dec 2019 21:25:23 +0100 Subject: [PATCH] Show heartbeat ping again ( should have done it when i switched to djs 12 ) --- commands/utility/ping.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/utility/ping.js b/commands/utility/ping.js index c2cb2766..64dfd05d 100644 --- a/commands/utility/ping.js +++ b/commands/utility/ping.js @@ -24,7 +24,7 @@ class PingCommand extends Command { if (args.lazyping) return message.channel.send('Ping him yourself you lazy ass'); return message.util.reply('Pong!').then(sent => { const timeDiff = (sent.editedAt || sent.createdAt) - (message.editedAt || message.createdAt); - const text = `šŸ”‚\u2000**PING**: ${timeDiff} ms`; + const text = `šŸ”‚\u2000**RTT**: ${timeDiff} ms\nšŸ’Ÿ\u2000**Heartbeat**: ${Math.round(this.client.ws.ping)} ms`; return message.util.reply(`Pong!\n${text}`); }); }