mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 00:06:42 +02:00
25 lines
519 B
JavaScript
25 lines
519 B
JavaScript
const Command = require('../../structures/Command');
|
|
|
|
module.exports = class RateWaifuCommand extends Command {
|
|
constructor(client) {
|
|
super(client, {
|
|
name: 'rate-waifu',
|
|
aliases: ['waifu'],
|
|
group: 'random-res',
|
|
memberName: 'rate-waifu',
|
|
description: 'Rates your waifu.',
|
|
args: [
|
|
{
|
|
key: 'waifu',
|
|
prompt: 'Who do you want to rate?',
|
|
type: 'string'
|
|
}
|
|
]
|
|
});
|
|
}
|
|
|
|
run(msg, { waifu }) {
|
|
return msg.say(`I'd give ${waifu} a ${Math.floor(Math.random() * 10) + 1}/10!`);
|
|
}
|
|
};
|