Files
luma/src/commands/general/ping.ts
T
2026-01-14 02:32:07 -03:00

16 lines
432 B
TypeScript

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;