blob: 78909a9908c395068ed5bc6dfac0acc41f34ca5b [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("clear")
8 .setDescription("Clears a users messages in 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/clear]");
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 };