pineafan | 4f164f3 | 2022-02-26 22:07:12 +0000 | [diff] [blame] | 1 | import { CommandInteraction } from "discord.js"; |
| 2 | import { SlashCommandBuilder } from "@discordjs/builders"; |
| 3 | import { WrappedCheck } from "jshaiku"; |
| 4 | |
| 5 | const command = new SlashCommandBuilder() |
| 6 | .setName("help") |
| 7 | .setDescription("Shows help for commands") |
| 8 | |
pineafan | 41d9356 | 2022-07-30 22:10:15 +0100 | [diff] [blame] | 9 | const callback = async (interaction: CommandInteraction): Promise<any> => { |
pineafan | 0a2cd59 | 2022-07-25 17:38:02 +0100 | [diff] [blame] | 10 | interaction.reply("hel p"); // TODO: FINISH THIS FOR RELEASE |
pineafan | 4f164f3 | 2022-02-26 22:07:12 +0000 | [diff] [blame] | 11 | } |
| 12 | |
| 13 | const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => { |
| 14 | return true; |
| 15 | } |
| 16 | |
| 17 | export { command }; |
| 18 | export { callback }; |
| 19 | export { check }; |