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')