blob: 5194bcead0003512583ffc2d556306b966cb2467 [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
pineafan8b4b17f2022-02-27 20:42:52 +00007 .setName("unmute")
8 .setDescription("Unmutes a member")
pineafan4f164f32022-02-26 22:07:12 +00009
10const callback = (interaction: CommandInteraction) => {
pineafan8b4b17f2022-02-27 20:42:52 +000011 interaction.reply("Command incomplete [mod/unmute]");
pineafan4f164f32022-02-26 22:07:12 +000012}
13
14const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
15 return true;
16}
17
pineafan8b4b17f2022-02-27 20:42:52 +000018export { command, callback, check };