blob: b9df446ebec20f87329d79e5e6f4eb0561599f2c [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
pineafanad54d752022-04-18 19:01:43 +01009const callback = async (interaction) => {
pineafan63fc5e22022-08-04 22:04:10 +010010 guide(interaction.guild, interaction);
11};
pineafanad54d752022-04-18 19:01:43 +010012
pineafanbd02b4a2022-08-05 22:01:38 +010013const check = () => {
pineafan63fc5e22022-08-04 22:04:10 +010014 return true;
15};
pineafanad54d752022-04-18 19:01:43 +010016
17export { command };
18export { callback };
19export { check };