import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js"; import { Command } from "../../commands"; const builder = new SlashCommandBuilder() .setName('ping') .setDescription('Pong.'); const cmd: Command = { name: builder.name, builder: builder, execute: async (interaction: ChatInputCommandInteraction): Promise => { interaction.reply('pong!'); } }; export default cmd;