import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando'; import { MessageEmbed } from 'discord.js'; //@ts-ignore no types import { stripIndents } from 'common-tags' module.exports = class NitroUser extends Command { constructor(client: CommandoClient) { super(client, { name: 'nitro', group: 'user', memberName: 'nitro', description: 'This message can only be viewed by users with Discord Nitro.', examples: ['uwu!nitro'], throttling: { usages: 5, duration: 30 } }); } run(msg: CommandoMessage) { let emb = new MessageEmbed() .setColor(0xFFCC4D) .setAuthor('Discord Nitro', 'https://cdn.discordapp.com/emojis/314068430611415041.png', 'https://discordapp.com/nitro') .setThumbnail('https://cdn.discordapp.com/emojis/314068430611415041.png') .setTimestamp(new Date()) .setDescription(stripIndents` This message can only be viewed by users with Discord Nitro. [Lift off with Discord Nitro today](https://discordapp.com/nitro)`) return msg.say(emb) } };