blob: 1a5f2971ddc722cc971dd9f677f1a88ebe2f7a43 [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<any> => {
await roleMenu(interaction);
};
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return true;
};
export { command };
export { callback };
export { check };