blob: c8c0f7668a3fc114d8d462e1b4bc6dea9fd1e785 [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
pineafan63fc5e22022-08-04 22:04:10 +01008 .setName("premium")
9 .setDescription("Information about Nucleus Premium");
pineafan813bdf42022-07-24 10:39:10 +010010
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});
pineafan63fc5e22022-08-04 22:04:10 +010023};
pineafan813bdf42022-07-24 10:39:10 +010024
25const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
26 return true;
pineafan63fc5e22022-08-04 22:04:10 +010027};
pineafan813bdf42022-07-24 10:39:10 +010028
29export { command };
30export { callback };
31export { check };