blob: b45e1d1d2c7483e6b4e6b6a2b7604e7d7757a0bb [file] [log] [blame]
pineafan4f164f32022-02-26 22:07:12 +00001import { CommandInteraction } from "discord.js";
2import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
3import { WrappedCheck } from "jshaiku";
4
5const command = (builder: SlashCommandSubcommandBuilder) =>
6 builder
7 .setName("user")
pineafan377794f2022-04-18 19:01:01 +01008 .setDescription("Gives or removes a role from someone")
pineafan4f164f32022-02-26 22:07:12 +00009
10const callback = (interaction: CommandInteraction) => {
pineafan377794f2022-04-18 19:01:01 +010011 interaction.reply("This command is not yet finished [role/user]");
pineafan4f164f32022-02-26 22:07:12 +000012}
13
14const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
15 return true;
16}
17
18export { command };
19export { callback };
20export { check };