diff --git a/commands/utilities/ping.js b/commands/utilities/ping.js index 5640363..3608ea0 100644 --- a/commands/utilities/ping.js +++ b/commands/utilities/ping.js @@ -5,6 +5,8 @@ module.exports = { .setName('ping') .setDescription('Replies with Pong!'), async execute(interaction) { - await interaction.reply('Pong!'); + interaction.reply('🏓').then (async (msg) => { + msg.edit(`🏓Latency is \`${Date.now() - msg.createdTimestamp}ms\``); + }); }, };