blob: df44aaa6a13cafe6a9e9c3b37bba4ce72b26be17 [file] [log] [blame]
pineafan4f164f32022-02-26 22:07:12 +00001import { CommandInteraction } from "discord.js";
2import { SlashCommandBuilder } from "@discordjs/builders";
3import { WrappedCheck } from "jshaiku";
4
Skyler Grey11236ba2022-08-08 21:13:33 +01005const command = new SlashCommandBuilder().setName("help").setDescription("Shows help for commands");
pineafan4f164f32022-02-26 22:07:12 +00006
pineafan63fc5e22022-08-04 22:04:10 +01007const callback = async (interaction: CommandInteraction): Promise<void> => {
pineafan0a2cd592022-07-25 17:38:02 +01008 interaction.reply("hel p"); // TODO: FINISH THIS FOR RELEASE
pineafan63fc5e22022-08-04 22:04:10 +01009};
pineafan4f164f32022-02-26 22:07:12 +000010
Skyler Grey11236ba2022-08-08 21:13:33 +010011const check = (_interaction: CommandInteraction, _defaultCheck: WrappedCheck) => {
pineafan4f164f32022-02-26 22:07:12 +000012 return true;
pineafan63fc5e22022-08-04 22:04:10 +010013};
pineafan4f164f32022-02-26 22:07:12 +000014
15export { command };
16export { callback };
Skyler Grey75ea9172022-08-06 10:22:23 +010017export { check };