feat: add ping command

This commit is contained in:
2026-01-14 02:32:07 -03:00
parent 4fbf308650
commit 3354289207
+16
View File
@@ -0,0 +1,16 @@
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<void> => {
interaction.reply('pong!');
}
};
export default cmd;