blob: bf6a3062ea17b9b7444d6d46d2c11591c1322378 [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> => {
PineaFan752af462022-12-31 21:59:38 +00008 interaction.reply("boo")
pineafan377794f2022-04-18 19:01:01 +01009 verify(interaction);
pineafan63fc5e22022-08-04 22:04:10 +010010};
pineafan4f164f32022-02-26 22:07:12 +000011
PineaFan64486c42022-12-28 09:21:04 +000012const check = (_interaction: CommandInteraction) => {
pineafan4f164f32022-02-26 22:07:12 +000013 return true;
pineafan63fc5e22022-08-04 22:04:10 +010014};
pineafan4f164f32022-02-26 22:07:12 +000015
16export { command };
17export { callback };
pineafan1dc15722022-03-14 21:27:34 +000018export { check };