text: const Command = require('../../structures/Command');
  const request = require('node-superfetch');
  
  module.exports = class AiPersonCommand extends Command {
  	constructor(client) {
  		super(client, {
  			name: 'ai-person',
  			aliases: ['this-person-does-not-exist', 'person'],
  			group: 'random-image',
  			memberName: 'ai-person',
  			description: 'Responds with a randomly generated person.',
  			clientPermissions: ['ATTACH_FILES']
  		});
  	}
  
  	async run(msg) {
  		const { body } = await request.get('https://thispersondoesnotexist.com/image');
  		return msg.say('AI-Generated Person', { files: [{ attachment: body, name: 'ai-person.jpg' }] });
  	}
  };
  