blob: 9aad543564c51bdf4ded4aed869b6485cc7b2ca9 [file] [log] [blame]
import type { CommandInteraction } from "discord.js";
import { SlashCommandBuilder } from "@discordjs/builders";
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) => {
return true;
};
export { command };
export { callback };
export { check };