diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-04-03 16:43:47 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-04-03 16:43:47 -0400 |
| commit | a555449001cbe87503e5ffe9b311aceb59592c63 (patch) | |
| tree | bf2920c4532ca65b5837d459e46bbe53c893de76 /commands/ping.js | |
| parent | daf3c1735513bb252614a0047116088e242f7984 (diff) | |
| download | DLAP-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.js | 4 |
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 |
