import { Command, CommandoMessage } from 'discord.js-commando'; module.exports = class ClapFun extends Command { constructor(client) { super(client, { name: 'clapify', aliases: ['clap', 'clappify'], group: 'fun', memberName: 'clapify', description: 'Allows you to clapify anything.', args: [ { key: 'say', prompt: 'What would you like to clapify?', type: 'string' } ], examples: ['uwu!clapify please clap this lol'], throttling: { usages: 5, duration: 30 }, userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'] }); } run(msg: CommandoMessage, { say }) { msg.say(say.split(' ').join('👏')) msg.delete() } };