pineafan | 4f164f3 | 2022-02-26 22:07:12 +0000 | [diff] [blame] | 1 | import { CommandInteraction } from "discord.js"; |
| 2 | import { SlashCommandSubcommandBuilder } from "@discordjs/builders"; |
| 3 | import { WrappedCheck } from "jshaiku"; |
| 4 | |
| 5 | const command = (builder: SlashCommandSubcommandBuilder) => |
| 6 | builder |
| 7 | .setName("lock") |
| 8 | .setDescription("Manages a lock on a channel") |
| 9 | |
| 10 | const callback = (interaction: CommandInteraction) => { |
| 11 | interaction.reply("Command incomplete [mod/lock]"); |
| 12 | } |
| 13 | |
| 14 | const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => { |
| 15 | return true; |
| 16 | } |
| 17 | |
pineafan | 8b4b17f | 2022-02-27 20:42:52 +0000 | [diff] [blame^] | 18 | export { command, callback, check }; |