From a555449001cbe87503e5ffe9b311aceb59592c63 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 3 Apr 2022 16:43:47 -0400 Subject: Audio states on control; Control can be ran once; Ping update, etc --- commands/ping.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands/ping.js') diff --git a/commands/ping.js b/commands/ping.js index fc25135..3a77d08 100644 --- a/commands/ping.js +++ b/commands/ping.js @@ -25,7 +25,7 @@ export default { data: new SlashCommandBuilder() .setName('ping') .setDescription('Pong!'), - async execute(interaction) { - return await interaction.reply('Pong!'); + async execute(interaction, bot) { + return await interaction.reply(`Pong! ${Math.round(bot.ws.ping)}ms`); }, }; \ No newline at end of file -- cgit v1.2.3