From e5c621ff606a5614b55770e3e45c0fb2ed302eb1 Mon Sep 17 00:00:00 2001
From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com>
Date: Sun, 18 Dec 2022 00:38:23 +1100
Subject: [PATCH] Update ping.ts

---
 src/commands/ping.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/commands/ping.ts b/src/commands/ping.ts
index b6bba5b..fdbdfaf 100644
--- a/src/commands/ping.ts
+++ b/src/commands/ping.ts
@@ -4,7 +4,7 @@ export default {
     async run(client: TClient, interaction: Discord.ChatInputCommandInteraction<'cached'>){
         const msg = await interaction.reply({content: 'Pinging...', fetchReply: true})
         const time = msg.createdTimestamp - interaction.createdTimestamp;
-        msg.edit(`Websocket: \`${client.ws.ping}\`ms\nBot: \`${time}\`ms`)
+        msg.edit(`Websocket: \`${client.formatTime(client.ws.ping, 3, {longNames: false, commas: true})}\`\nBot: \`${client.formatTime(time, 3, {longNames: false, commas: true})}\``)
     },
     data: new SlashCommandBuilder()
         .setName('ping')