import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js"; import type { customClient } from "../../index.ts"; export const data = new SlashCommandBuilder() .setName("ping") .setDescription("Replies with pong!"); export const execute = async ( interaction: ChatInputCommandInteraction & { client: customClient } ) => { await interaction.reply("Pong!"); };