Files
xiao/commands/random/rate-waifu.js
T
Daniel Odendahl Jr b6afded306 Updates
2017-11-09 00:02:59 +00:00

26 lines
535 B
JavaScript

const { Command } = require('discord.js-commando');
module.exports = class RateWaifuCommand extends Command {
constructor(client) {
super(client, {
name: 'rate-waifu',
aliases: ['waifu', 'rate'],
group: 'random',
memberName: 'rate-waifu',
description: 'Rates a waifu.',
args: [
{
key: 'waifu',
prompt: 'Who do you want to rate?',
type: 'string',
max: 1950
}
]
});
}
run(msg, { waifu }) {
return msg.say(`I'd give ${waifu} a ${Math.floor(Math.random() * 10) + 1}/10!`);
}
};