apps/bot/src/feats/bugs/commands.ts (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import { kitten } from "@/client";
import { buildReportModal } from "./shared";
export const bugCommand = kitten.command("bug", {
description: "Make a bug report",
});
bugCommand.subcommand("report", {
description: "Report a new bug",
async run(interaction) {
const modal = buildReportModal();
await interaction.showModal(modal);
},
});
|