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