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