blob: 9d273b95db8efe2b759ee7f0fd42e2837cc91ee8 [file] [log] [blame]
pineafan813bdf42022-07-24 10:39:10 +01001import { CommandInteraction, MessageActionRow, MessageButton } from "discord.js";
2import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
3import { WrappedCheck } from "jshaiku";
4import EmojiEmbed from "../../utils/generateEmojiEmbed.js";
5
6const command = (builder: SlashCommandSubcommandBuilder) =>
7 builder
8 .setName("premium")
9 .setDescription("Information about Nucleus Premium")
10
pineafan41d93562022-07-30 22:10:15 +010011const callback = async (interaction: CommandInteraction): Promise<any> => {
pineafan813bdf42022-07-24 10:39:10 +010012 interaction.reply({embeds: [new EmojiEmbed()
13 .setTitle("Premium")
14 .setDescription(
15 "*Nucleus Premium is currently not available.*\n\n" +
16 "Premium allows your server to get access to extra features, for a fixed price per month.\nThis includes:\n" +
17 "- Attachment logs - Stores attachments so they can be viewed after a message is deleted.\n" +
18 "- Ticket Transcripts - Gives a link to view the history of a ticket after it has been closed.\n"
19 )
20 .setEmoji("NUCLEUS.LOGO")
21 .setStatus("Danger")
22 ], ephemeral: true});
23}
24
25const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
26 return true;
27}
28
29export { command };
30export { callback };
31export { check };