mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
18 lines
436 B
JavaScript
18 lines
436 B
JavaScript
const Command = require('../../framework/Command');
|
|
const genders = ['boy', 'girl'];
|
|
|
|
module.exports = class OffspringCommand extends Command {
|
|
constructor(client) {
|
|
super(client, {
|
|
name: 'offspring',
|
|
aliases: ['sex'],
|
|
group: 'random-res',
|
|
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)]}!`);
|
|
}
|
|
};
|