blob: cb89b55924e2623e0b88706b8c8eb7aaf40d0dec [file] [log] [blame]
Skyler Turner66ac7942022-02-24 01:59:22 +00001import { CommandInteraction } from "discord.js";
2import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
3import { WrappedCheck } from "jshaiku";
4
5const command = (builder: SlashCommandSubcommandBuilder) =>
6 builder
pineafan2c33b9f2022-02-25 20:35:23 +00007 .setName("add")
8 .setDescription("Adds a lock to a channel")
Skyler Turner66ac7942022-02-24 01:59:22 +00009
10const callback = (interaction: CommandInteraction) => {
pineafan2c33b9f2022-02-25 20:35:23 +000011 interaction.reply("Command incomplete [mod/lock/add]");
Skyler Turner66ac7942022-02-24 01:59:22 +000012}
13
14const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
pineafan2c33b9f2022-02-25 20:35:23 +000015 return true;
Skyler Turner66ac7942022-02-24 01:59:22 +000016}
17
18export { command };
19export { callback };
20export { check };