blob: b9556a67aeb18ead66a39173172b3181667cd5f6 [file] [log] [blame]
pineafan63fc5e22022-08-04 22:04:10 +01001import type { CommandInteraction } from "discord.js";
pineafan4f164f32022-02-26 22:07:12 +00002import { SlashCommandBuilder } from "@discordjs/builders";
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
PineaFan64486c42022-12-28 09:21:04 +000011const check = (_interaction: CommandInteraction) => {
pineafan4f164f32022-02-26 22:07:12 +000012 return true;
pineafan63fc5e22022-08-04 22:04:10 +010013};
pineafan4f164f32022-02-26 22:07:12 +000014
15export { command };
16export { callback };
pineafan1dc15722022-03-14 21:27:34 +000017export { check };