blob: c9bba7da29cb03f7573342594dadbcfb772df776 [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()
11 .setLabel("Verify")
12 .setStyle(ButtonStyle.Primary)
13 .setCustomId("verifybutton")
14 )]}); // TODO: FINISH THIS FOR RELEASE
pineafan63fc5e22022-08-04 22:04:10 +010015};
pineafan4f164f32022-02-26 22:07:12 +000016
PineaFan64486c42022-12-28 09:21:04 +000017const check = (_interaction: CommandInteraction) => {
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 };