import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando'; //@ts-ignore no types import emoji from 'emoji-random'; import uwufy from 'uwufy' module.exports = class UwufyAnime extends Command { constructor(client: CommandoClient) { super(client, { name: 'uwufy', aliases: ['uwu', 'owofy', 'owo'], group: 'anime', memberName: 'uwufy', description: 'Uwufys anything you send.', args: [ { key: 'userMsg', prompt: 'What would you like to uwufy?', type: 'string' } ], examples: [ 'uwu!uwufy please uwufy this', 'uwu!uwu can u uwufy this', 'uwu!owofy this thx', 'uwu!owo nice now this' ], userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], throttling: { usages: 5, duration: 30 }, }); } run(msg: CommandoMessage, { userMsg }: any) { msg.reply(uwufy(userMsg) + ' ' + emoji.random()) return msg.delete(); } };