mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 00:12:32 +02:00
random-js is cool
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
const { Command } = require('discord.js-commando');
|
||||
const Random = require('random-js');
|
||||
|
||||
module.exports = class DickCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'dick',
|
||||
aliases: ['dick-size'],
|
||||
group: 'analyze',
|
||||
memberName: 'dick',
|
||||
description: 'Determines your dick size.',
|
||||
nsfw: true,
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'What user do you want to determine the dick size of?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
run(msg, { user }) {
|
||||
const random = new Random(Random.engines.mt19937().seed(user.id));
|
||||
return msg.reply(`8${'='.repeat(random.integer(0, 200))}D`);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user