blob: 3141f9f1519367737fcd90de3440be931f5d7851 [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) =>
5 builder
pineafan63fc5e22022-08-04 22:04:10 +01006 .setName("guide")
7 .setDescription("Shows the welcome guide for the bot");
pineafanad54d752022-04-18 19:01:43 +01008
9
10const callback = async (interaction) => {
pineafan63fc5e22022-08-04 22:04:10 +010011 guide(interaction.guild, interaction);
12};
pineafanad54d752022-04-18 19:01:43 +010013
pineafanbd02b4a2022-08-05 22:01:38 +010014const check = () => {
pineafan63fc5e22022-08-04 22:04:10 +010015 return true;
16};
pineafanad54d752022-04-18 19:01:43 +010017
18export { command };
19export { callback };
20export { check };