import { ChatInputCommandInteraction, SlashCommandBuilder } from 'discord.js'; import { ExtendedClient } from '../../structures/ExtendedClient.js'; import { Command } from '../../structures/Command.js'; const command: Command = { data: new SlashCommandBuilder() .setName('ping') .setDescription('Antwortet mit Pong!'), category: 'Public', async execute(interaction: ChatInputCommandInteraction, client: ExtendedClient) { await interaction.reply('Pong!'); }, }; export default command;