import { Command, CommandoMessage } from 'discord.js-commando'; import emoji from 'emoji-random'; module.exports = class KillRoleplay extends Command { constructor(client) { super(client, { name: 'kill', group: 'roleplay', memberName: 'kill', description: 'Kill a specified user.', examples: ['uwu!kill @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 kill?', type: 'user' } ] }); } run(msg: CommandoMessage, { uUser }) { msg.say(`_**${msg.author.username}** kills **${uUser.username}**._` + ' ' + emoji.random()) } };