mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 00:06:42 +02:00
26 lines
535 B
JavaScript
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!`);
|
|
}
|
|
};
|