mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 08:22:22 +02:00
Format numbers, style changes, fixes
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
const Command = require('../../structures/Command');
|
||||
|
||||
module.exports = class RandomUserCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'random-user',
|
||||
aliases: ['member-roulette', 'user-roulette', 'random-member'],
|
||||
group: 'random',
|
||||
memberName: 'random-user',
|
||||
description: 'Randomly chooses a member of the server.',
|
||||
guildOnly: true
|
||||
});
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
return msg.say(`I choose ${msg.guild.members.random().displayName}!`);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user