blob: 4bbe50faceeb9caf89fc03d49f09773879670bfc [file] [log] [blame]
pineafan63fc5e22022-08-04 22:04:10 +01001import type { CommandInteraction } from "discord.js";
TheCodedProff86ba092023-01-27 17:10:07 -05002import { SlashCommandBuilder } from "discord.js";
pineafan73a7c4a2022-07-24 10:38:04 +01003import verify from "../reflex/verify.js";
pineafan4f164f32022-02-26 22:07:12 +00004
Skyler Grey11236ba2022-08-08 21:13:33 +01005const command = new SlashCommandBuilder().setName("verify").setDescription("Get verified in the server");
pineafan4f164f32022-02-26 22:07:12 +00006
pineafan63fc5e22022-08-04 22:04:10 +01007const callback = async (interaction: CommandInteraction): Promise<void> => {
Skyler Greyf4f21c42023-03-08 14:36:29 +00008 await verify(interaction);
pineafan63fc5e22022-08-04 22:04:10 +01009};
pineafan4f164f32022-02-26 22:07:12 +000010
pineafan4f164f32022-02-26 22:07:12 +000011export { command };
12export { callback };