aboutsummaryrefslogtreecommitdiff
path: root/commands/ping.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-04-03 16:43:47 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-04-03 16:43:47 -0400
commita555449001cbe87503e5ffe9b311aceb59592c63 (patch)
treebf2920c4532ca65b5837d459e46bbe53c893de76 /commands/ping.js
parentdaf3c1735513bb252614a0047116088e242f7984 (diff)
downloadDLAP-a555449001cbe87503e5ffe9b311aceb59592c63.tar.gz
DLAP-a555449001cbe87503e5ffe9b311aceb59592c63.tar.bz2
DLAP-a555449001cbe87503e5ffe9b311aceb59592c63.zip
Audio states on control; Control can be ran once; Ping update, etc
Diffstat (limited to 'commands/ping.js')
-rw-r--r--commands/ping.js4
1 files changed, 2 insertions, 2 deletions
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