From 01bc1a37f996e22ac914e4b164ab1742cdc24580 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 18 Dec 2022 00:05:12 -0600 Subject: [PATCH] Add ws heartbeat to ping command --- commands/ping.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/ping.js b/commands/ping.js index 11d1dad..d7dd98f 100644 --- a/commands/ping.js +++ b/commands/ping.js @@ -12,6 +12,6 @@ module.exports = { .setName('ping') .setDescription('Checks to see if the bot is online, as well as it\'s ping'), async execute(interaction) { - await interaction.reply({ content: 'Pong!', ephemeral: true }); + await interaction.reply({ content: `Pong! Current Websocket Heartbeat / ping is ${interaction.client.ws.ping}ms.`, ephemeral: true }); }, }; \ No newline at end of file