mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 21:40:51 +02:00
Waifu, change rate-waifu to rate
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
const { Command } = require('discord.js-commando');
|
||||
|
||||
module.exports = class RateCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'rate',
|
||||
aliases: ['rate-waifu'],
|
||||
group: 'random',
|
||||
memberName: 'rate',
|
||||
description: 'Rates something.',
|
||||
args: [
|
||||
{
|
||||
key: 'thing',
|
||||
prompt: 'Who do you want to rate?',
|
||||
type: 'string',
|
||||
max: 1950
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
run(msg, { thing }) {
|
||||
return msg.say(`I'd give ${thing} a ${Math.floor(Math.random() * 10) + 1}/10!`);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user