blob: 0dd8b24ba528c080bb0815c05faf3d69ea921aa5 [file] [log] [blame]
pineafan63fc5e22022-08-04 22:04:10 +01001import type { CommandInteraction } from "discord.js";
Samuel Shuert27bf3cd2023-03-03 15:51:25 -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> => {
pineafan377794f2022-04-18 19:01:01 +01008 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 };