blob: dd3cb34fb8afc5b3d7b7b4e6f9bec1fd3d11a6ac [file] [log] [blame]
import { CommandInteraction } from "discord.js";
import { SlashCommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
import { callback as roleMenu } from "../actions/roleMenu.js";
const command = new SlashCommandBuilder()
.setName("rolemenu")
.setDescription("Lets you choose from sets of roles to apply to yourself");
const callback = async (interaction: CommandInteraction): Promise<void> => {
await roleMenu(interaction);
};
const check = (_interaction: CommandInteraction, _defaultCheck: WrappedCheck) => {
return true;
};
export { command };
export { callback };
export { check };