diff options
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 |
