blob: 900f24c47f93de0cd46a068b66fb75d58979d46f [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
pineafan63fc5e22022-08-04 22:04:10 +010013const check = (_interaction: CommandInteraction, _defaultCheck: WrappedCheck) => {
pineafan4f164f32022-02-26 22:07:12 +000014 return true;
pineafan63fc5e22022-08-04 22:04:10 +010015};
pineafan4f164f32022-02-26 22:07:12 +000016
17export { command };
18export { callback };
19export { check };