import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando'; import { MessageEmbed } from 'discord.js'; module.exports = class ModPlzFun extends Command { constructor(client: CommandoClient) { super(client, { name: 'modplz', group: 'fun', memberName: 'modplz', description: 'Send this when someone talking about mods.', examples: [ 'uwu!modplz' ], userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], throttling: { usages: 5, duration: 30 }, }); } run(msg: CommandoMessage) { msg.delete() let emb = new MessageEmbed() .setColor(0xFFD0DF) .setImage('https://discordapp.com/channels/663964105983393793/664659637039005696/730279064132255794') return msg.say(emb) } };