const { SlashCommandBuilder } = require('discord.js'); module.exports = { data: new SlashCommandBuilder() .setName('ping') .setDescription('Replies with Pong!'), async execute(interaction) { interaction.reply('🏓').then (async (msg) => { msg.edit(`🏓Latency is \`${Date.now() - msg.createdTimestamp}ms\``); }); }, };