Initialer Bot Upload
Some checks failed
Auto Build and Push Docker Image / build (push) Failing after 15s
Some checks failed
Auto Build and Push Docker Image / build (push) Failing after 15s
This commit is contained in:
15
src/commands/utility/ping.ts
Normal file
15
src/commands/utility/ping.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user