import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando'; //@ts-ignore no types import emoji from 'emoji-random'; module.exports = class PunchRoleplay extends Command { constructor(client: CommandoClient) { super(client, { name: 'punch', group: 'roleplay', memberName: 'punch', description: 'Punch a specified user.', examples: ['uwu!punch @sin#1337'], userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], throttling: { usages: 5, duration: 30 }, args: [ { key: 'uUser', prompt: 'Which user would you like to punch?', type: 'user' } ] }); } run(msg: CommandoMessage, { uUser }: any) { msg.delete(); return msg.say(`***${msg.author.username}** punches **${uUser.username}**.*` + ' ' + emoji.random()) } };