blob: 9bbc36e7b3a2eb529940ecfce3f9477671e79737 [file] [log] [blame]
pineafanbd02b4a2022-08-05 22:01:38 +01001import { CommandInteraction } from "discord.js";
pineafan813bdf42022-07-24 10:39:10 +01002import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
pineafan813bdf42022-07-24 10:39:10 +01003import EmojiEmbed from "../../utils/generateEmojiEmbed.js";
4
5const command = (builder: SlashCommandSubcommandBuilder) =>
Skyler Grey11236ba2022-08-08 21:13:33 +01006 builder.setName("premium").setDescription("Information about Nucleus Premium");
pineafan813bdf42022-07-24 10:39:10 +01007
pineafanbd02b4a2022-08-05 22:01:38 +01008const callback = async (interaction: CommandInteraction): Promise<void> => {
Skyler Grey75ea9172022-08-06 10:22:23 +01009 interaction.reply({
10 embeds: [
11 new EmojiEmbed()
12 .setTitle("Premium")
13 .setDescription(
14 "*Nucleus Premium is currently not available.*\n\n" +
15 "Premium allows your server to get access to extra features, for a fixed price per month.\nThis includes:\n" +
16 "- Attachment logs - Stores attachments so they can be viewed after a message is deleted.\n" +
17 "- Ticket Transcripts - Gives a link to view the history of a ticket after it has been closed.\n"
18 )
19 .setEmoji("NUCLEUS.LOGO")
20 .setStatus("Danger")
21 ],
22 ephemeral: true
23 });
pineafan63fc5e22022-08-04 22:04:10 +010024};
pineafan813bdf42022-07-24 10:39:10 +010025
pineafanbd02b4a2022-08-05 22:01:38 +010026const check = () => {
pineafan813bdf42022-07-24 10:39:10 +010027 return true;
pineafan63fc5e22022-08-04 22:04:10 +010028};
pineafan813bdf42022-07-24 10:39:10 +010029
30export { command };
31export { callback };
Skyler Grey75ea9172022-08-06 10:22:23 +010032export { check };