blob: 270ee62b8a9933ff865c7f207819111661a30cac [file] [log] [blame]
PineaFan538d3752023-01-12 21:48:23 +00001import type { CommandInteraction } from 'discord.js';
TheCodedProff86ba092023-01-27 17:10:07 -05002import type { SlashCommandSubcommandBuilder } from "discord.js";
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
pineafanad54d752022-04-18 19:01:43 +010012export { command };
13export { callback };