blob: d3370ba347e4ca8911c8b012a08f1e9e9369b3b5 [file] [log] [blame]
PineaFan538d3752023-01-12 21:48:23 +00001import type { CommandInteraction } from 'discord.js';
2import type { SlashCommandSubcommandBuilder } from "@discordjs/builders";
pineafan73a7c4a2022-07-24 10:38:04 +01003import guide from "../../reflex/guide.js";
pineafanad54d752022-04-18 19:01:43 +01004
5const command = (builder: SlashCommandSubcommandBuilder) =>
Skyler Grey11236ba2022-08-08 21:13:33 +01006 builder.setName("guide").setDescription("Shows the welcome guide for the bot");
pineafanad54d752022-04-18 19:01:43 +01007
PineaFan538d3752023-01-12 21:48:23 +00008const callback = async (interaction: CommandInteraction) => {
9 guide(interaction.guild!, interaction);
pineafan63fc5e22022-08-04 22:04:10 +010010};
pineafanad54d752022-04-18 19:01:43 +010011
pineafanbd02b4a2022-08-05 22:01:38 +010012const check = () => {
pineafan63fc5e22022-08-04 22:04:10 +010013 return true;
14};
pineafanad54d752022-04-18 19:01:43 +010015
16export { command };
17export { callback };
18export { check };