UNPKG

create-discord-bot

Version:

A simple way to create a startup Discord bot.

12 lines (10 loc) 285 B
import type { Command } from '../index.ts'; export default { data: { name: 'user', description: 'Provides information about the user.', }, async execute(interaction) { await interaction.reply(`This command was run by ${interaction.user.username}.`); }, } satisfies Command;