blob: 814d2f562fb6a3080703f1aa40b50d7cce08a7cf [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";
5import generateEmojiEmbed from "../../utils/generateEmojiEmbed.js";
6import 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 };