blob: 4ccc80798b85d819be2c9ecc7dd056d5680ff24a [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";
pineafan377794f2022-04-18 19:01:01 +01004import verify from "../automations/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 };