const { Command } = require('discord.js-commando');
const genders = ['boy', 'girl'];

module.exports = class OffspringCommand extends Command {
	constructor(client) {
		super(client, {
			name: 'offspring',
			aliases: ['sex'],
			group: 'random',
			memberName: 'offspring',
			description: 'Determines if your new child will be a boy or a girl.'
		});
	}

	run(msg) {
		return msg.say(`It's a ${genders[Math.floor(Math.random() * genders.length)]}!`);
	}
};
