blob: c9abb77e5219d6bcd0b31bdac78bed5738b02ed7 [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
pineafan1dc15722022-03-14 21:27:34 +000010const callback = async (interaction: CommandInteraction) => {
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 };