blob: 767ca46c7e77a3e602be630f4be4f61adebb1128 [file] [log] [blame]
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, CommandInteraction } from "discord.js";
import { SlashCommandBuilder } from "@discordjs/builders";
const command = new SlashCommandBuilder()
.setName("help")
.setDescription("Shows help for commands");
const callback = async (interaction: CommandInteraction): Promise<void> => {
interaction.reply({components: [new ActionRowBuilder<ButtonBuilder>().addComponents(
new ButtonBuilder()
.setLabel("Create ticket")
.setStyle(ButtonStyle.Primary)
.setCustomId("createticket")
)]}); // TODO: FINISH THIS FOR RELEASE
};
const check = () => {
return true;
};
export { command };
export { callback };
export { check };