blob: ffc441a3ede63f3db0ff63aa8d4c85ba3b766d0c [file] [log] [blame]
pineafanad54d752022-04-18 19:01:43 +01001import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
pineafan73a7c4a2022-07-24 10:38:04 +01002import guide from "../../reflex/guide.js";
pineafanad54d752022-04-18 19:01:43 +01003
4const command = (builder: SlashCommandSubcommandBuilder) =>
Skyler Grey11236ba2022-08-08 21:13:33 +01005 builder.setName("guide").setDescription("Shows the welcome guide for the bot");
pineafanad54d752022-04-18 19:01:43 +01006
pineafanad54d752022-04-18 19:01:43 +01007const callback = async (interaction) => {
pineafan63fc5e22022-08-04 22:04:10 +01008 guide(interaction.guild, interaction);
9};
pineafanad54d752022-04-18 19:01:43 +010010
pineafanbd02b4a2022-08-05 22:01:38 +010011const check = () => {
pineafan63fc5e22022-08-04 22:04:10 +010012 return true;
13};
pineafanad54d752022-04-18 19:01:43 +010014
15export { command };
16export { callback };
17export { check };