blob: eb94de482c2f7d53b7b6d90f09381519e2de9511 [file] [log] [blame]
pineafanad54d752022-04-18 19:01:43 +01001import Discord, { CommandInteraction, MessageActionRow, MessageButton } from "discord.js";
2import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
3import { WrappedCheck } from "jshaiku";
4import getEmojiByName from "../../utils/getEmojiByName.js";
pineafan4edb7762022-06-26 19:21:04 +01005import EmojiEmbed from "../../utils/generateEmojiEmbed.js";
pineafanad54d752022-04-18 19:01:43 +01006import guide from "../../automations/guide.js";
7
8const command = (builder: SlashCommandSubcommandBuilder) =>
9 builder
10 .setName("guide")
11 .setDescription("Shows the welcome guide for the bot")
12
13
14const callback = async (interaction) => {
15 guide(interaction.guild, interaction)
16}
17
18const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
19 return true
20}
21
22export { command };
23export { callback };
24export { check };