random-js is cool

This commit is contained in:
Daniel Odendahl Jr
2018-04-21 01:30:16 +00:00
parent 116582e6a8
commit 9f04d0f8dd
8 changed files with 72 additions and 57 deletions
-18
View File
@@ -1,18 +0,0 @@
const { Command } = require('discord.js-commando');
module.exports = class DickCommand extends Command {
constructor(client) {
super(client, {
name: 'dick',
aliases: ['dick-size'],
group: 'random',
memberName: 'dick',
description: 'Determines your dick size.',
nsfw: true
});
}
run(msg) {
return msg.say(`8${'='.repeat(Math.floor(Math.random() * 200) + 1)}D`);
}
};
-32
View File
@@ -1,32 +0,0 @@
const { Command } = require('discord.js-commando');
module.exports = class ShipCommand extends Command {
constructor(client) {
super(client, {
name: 'ship',
group: 'random',
memberName: 'ship',
description: 'Ships two people together.',
args: [
{
key: 'first',
label: 'first name',
prompt: 'Who is the first person in the ship?',
type: 'string',
max: 500
},
{
key: 'second',
label: 'second name',
prompt: 'Who is the second person in the ship?',
type: 'string',
max: 500
}
]
});
}
run(msg, { first, second }) {
return msg.say(`I'd give ${first} and ${second} a ${Math.floor(Math.random() * 100) + 1}%!`);
}
};