import { Command, CommandoMessage } from 'discord.js-commando'; import emoji from 'emoji-random'; import { MessageEmbed } from 'discord.js'; module.exports = class TwitchBot extends Command { constructor(client) { super(client, { name: 'email', aliases: ['mail', 'contact', 'gmail'], group: 'bot', memberName: 'email', description: 'Gives you a reference to uwufier\'s authors\' (Sin) best method of contact.', examples: ['uwu!email'], userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], throttling: { usages: 5, duration: 30 }, }); } run(msg: CommandoMessage) { let emb = new MessageEmbed() .setDescription(`To contact <@217348698294714370>, please send a email to \`friskaofficial@gmail.com\`. Alternatively, you can either send a DM to <@217348698294714370> on Discord or on [Twitter](https://twitter.com/9inny). (All spam and unsolicited inquiries will be dealt with accordingly). ${emoji.random()}`) msg.say(emb) } };