blob: 9ad2c16ede87d2339aebb3ea98ec7bf6995c15eb [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) =>
6 builder
pineafan63fc5e22022-08-04 22:04:10 +01007 .setName("premium")
8 .setDescription("Information about Nucleus Premium");
pineafan813bdf42022-07-24 10:39:10 +01009
pineafanbd02b4a2022-08-05 22:01:38 +010010const callback = async (interaction: CommandInteraction): Promise<void> => {
pineafan813bdf42022-07-24 10:39:10 +010011 interaction.reply({embeds: [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 ], ephemeral: true});
pineafan63fc5e22022-08-04 22:04:10 +010022};
pineafan813bdf42022-07-24 10:39:10 +010023
pineafanbd02b4a2022-08-05 22:01:38 +010024const check = () => {
pineafan813bdf42022-07-24 10:39:10 +010025 return true;
pineafan63fc5e22022-08-04 22:04:10 +010026};
pineafan813bdf42022-07-24 10:39:10 +010027
28export { command };
29export { callback };
30export { check };