blob: 3dc5e995eb80d67877267511f3339fbbb098fc79 [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("events")
8 .setDescription("Sets which events mods should be notified about")
Skyler Turner66ac7942022-02-24 01:59:22 +00009
10const callback = (interaction: CommandInteraction) => {
pineafan2c33b9f2022-02-25 20:35:23 +000011 interaction.reply("Command incomplete [settings/mod/events]");
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 };