blob: d2ffaf9d1887285902db81f1ef4629cee33c8f1c [file] [log] [blame]
import type { CommandInteraction } from "discord.js";
import type { SlashCommandSubcommandBuilder } from "@discordjs/builders";
import close from "../../actions/tickets/delete.js";
const command = (builder: SlashCommandSubcommandBuilder) => builder.setName("close").setDescription("Closes a ticket");
const callback = async (interaction: CommandInteraction): Promise<void> => {
await close(interaction);
};
const check = () => {
return true;
};
export { command };
export { callback };
export { check };