UNPKG

create-discord-bot

Version:

A simple way to create a startup Discord bot.

12 lines (10 loc) 205 B
import type { Command } from './index.ts'; export default { data: { name: 'ping', description: 'Ping!', }, async execute(interaction) { await interaction.reply('Pong!'); }, } satisfies Command;