blob: bd71fe428477348e0b19d66d3c4ae7d8f53907d2 [file] [log] [blame]
pineafan377794f2022-04-18 19:01:01 +01001import { CommandInteraction } from "discord.js";
pineafan4f164f32022-02-26 22:07:12 +00002import { SlashCommandBuilder } from "@discordjs/builders";
3import { WrappedCheck } from "jshaiku";
pineafan73a7c4a2022-07-24 10:38:04 +01004import verify from "../reflex/verify.js";
pineafan4f164f32022-02-26 22:07:12 +00005
6const command = new SlashCommandBuilder()
7 .setName("verify")
8 .setDescription("Get verified in the server")
9
pineafan4edb7762022-06-26 19:21:04 +010010const callback = async (interaction: CommandInteraction): Promise<any> => {
pineafan377794f2022-04-18 19:01:01 +010011 verify(interaction);
pineafan4f164f32022-02-26 22:07:12 +000012}
13
14const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
15 return true;
16}
17
18export { command };
19export { callback };
pineafan1dc15722022-03-14 21:27:34 +000020export { check };