blob: fc44f75ae9f5278316b20ae12bb1fc5a6d0c5671 [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("Toggles slowmode 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/slowmode/toggle]");
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 };