blob: 83ba3272e4140881991a6dc903331af09a832833 [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> => {
Skyler Grey75ea9172022-08-06 10:22:23 +010011 interaction.reply({
12 embeds: [
13 new EmojiEmbed()
14 .setTitle("Premium")
15 .setDescription(
16 "*Nucleus Premium is currently not available.*\n\n" +
17 "Premium allows your server to get access to extra features, for a fixed price per month.\nThis includes:\n" +
18 "- Attachment logs - Stores attachments so they can be viewed after a message is deleted.\n" +
19 "- Ticket Transcripts - Gives a link to view the history of a ticket after it has been closed.\n"
20 )
21 .setEmoji("NUCLEUS.LOGO")
22 .setStatus("Danger")
23 ],
24 ephemeral: true
25 });
pineafan63fc5e22022-08-04 22:04:10 +010026};
pineafan813bdf42022-07-24 10:39:10 +010027
pineafanbd02b4a2022-08-05 22:01:38 +010028const check = () => {
pineafan813bdf42022-07-24 10:39:10 +010029 return true;
pineafan63fc5e22022-08-04 22:04:10 +010030};
pineafan813bdf42022-07-24 10:39:10 +010031
32export { command };
33export { callback };
Skyler Grey75ea9172022-08-06 10:22:23 +010034export { check };