blob: 767ca46c7e77a3e602be630f4be4f61adebb1128 [file] [log] [blame]
PineaFan538d3752023-01-12 21:48:23 +00001import { ActionRowBuilder, ButtonBuilder, ButtonStyle, CommandInteraction } from "discord.js";
pineafan4f164f32022-02-26 22:07:12 +00002import { SlashCommandBuilder } from "@discordjs/builders";
pineafan4f164f32022-02-26 22:07:12 +00003
PineaFan752af462022-12-31 21:59:38 +00004const command = new SlashCommandBuilder()
5 .setName("help")
6 .setDescription("Shows help for commands");
pineafan4f164f32022-02-26 22:07:12 +00007
pineafan63fc5e22022-08-04 22:04:10 +01008const callback = async (interaction: CommandInteraction): Promise<void> => {
PineaFan538d3752023-01-12 21:48:23 +00009 interaction.reply({components: [new ActionRowBuilder<ButtonBuilder>().addComponents(
10 new ButtonBuilder()
PineaFan0d06edc2023-01-17 22:10:31 +000011 .setLabel("Create ticket")
PineaFan538d3752023-01-12 21:48:23 +000012 .setStyle(ButtonStyle.Primary)
PineaFan0d06edc2023-01-17 22:10:31 +000013 .setCustomId("createticket")
PineaFan538d3752023-01-12 21:48:23 +000014 )]}); // TODO: FINISH THIS FOR RELEASE
pineafan63fc5e22022-08-04 22:04:10 +010015};
pineafan4f164f32022-02-26 22:07:12 +000016
PineaFan0d06edc2023-01-17 22:10:31 +000017const check = () => {
pineafan4f164f32022-02-26 22:07:12 +000018 return true;
pineafan63fc5e22022-08-04 22:04:10 +010019};
pineafan4f164f32022-02-26 22:07:12 +000020
21export { command };
22export { callback };
Skyler Grey75ea9172022-08-06 10:22:23 +010023export { check };