mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
18 lines
477 B
JavaScript
18 lines
477 B
JavaScript
const Command = require('../../structures/Command');
|
|
|
|
module.exports = class RouletteCommand extends Command {
|
|
constructor(client) {
|
|
super(client, {
|
|
name: 'roulette',
|
|
group: 'random-res',
|
|
memberName: 'roulette',
|
|
description: 'Chooses a random member of the server.',
|
|
guildOnly: true
|
|
});
|
|
}
|
|
|
|
run(msg) {
|
|
return msg.say(`I choose ${msg.guild.members.random().displayName}!`);
|
|
}
|
|
};
|