Some checks failed
Auto Build and Push Docker Image / build (push) Failing after 15s
16 lines
527 B
TypeScript
16 lines
527 B
TypeScript
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;
|