Update to latest

This commit is contained in:
Daniel Odendahl Jr
2017-11-02 22:42:12 +00:00
parent 96c762a552
commit 7560246f26
37 changed files with 89 additions and 120 deletions
+2 -1
View File
@@ -14,7 +14,8 @@ module.exports = class EightBallCommand extends Command {
{
key: 'question',
prompt: 'What do you want to ask the 8 ball?',
type: 'string'
type: 'string',
max: 1950
}
]
});
@@ -14,7 +14,8 @@ module.exports = class CharlieCharlieChallengeCommand extends Command {
{
key: 'question',
prompt: 'What do you want to ask Charlie?',
type: 'string'
type: 'string',
max: 1950
}
]
});
+2 -1
View File
@@ -13,7 +13,8 @@ module.exports = class ChooseCommand extends Command {
key: 'choices',
prompt: 'What choices do you want me pick from?',
type: 'string',
infinite: true
infinite: true,
max: 1950
}
]
});
+6 -3
View File
@@ -13,17 +13,20 @@ module.exports = class KissMarryKillCommand extends Command {
{
key: 'thing1',
prompt: 'Who is the first person you choose?',
type: 'string'
type: 'string',
max: 500
},
{
key: 'thing2',
prompt: 'Who is the second person you choose?',
type: 'string'
type: 'string',
max: 500
},
{
key: 'thing3',
prompt: 'Who is the third person you choose?',
type: 'string'
type: 'string',
max: 500
}
]
});
+2 -1
View File
@@ -14,7 +14,8 @@ module.exports = class MagicConchCommand extends Command {
{
key: 'question',
prompt: 'What do you want to ask the magic conch?',
type: 'string'
type: 'string',
max: 1950
}
]
});
+3 -2
View File
@@ -4,7 +4,7 @@ module.exports = class RateWaifuCommand extends Command {
constructor(client) {
super(client, {
name: 'rate-waifu',
aliases: ['waifu'],
aliases: ['waifu', 'rate'],
group: 'random-res',
memberName: 'rate-waifu',
description: 'Rates your waifu.',
@@ -12,7 +12,8 @@ module.exports = class RateWaifuCommand extends Command {
{
key: 'waifu',
prompt: 'Who do you want to rate?',
type: 'string'
type: 'string',
max: 1950
}
]
});
+11 -7
View File
@@ -1,26 +1,30 @@
const { Command } = require('discord.js-commando');
const { list } = require('../../util/Util');
module.exports = class ShipCommand extends Command {
constructor(client) {
super(client, {
name: 'ship',
aliases: ['rate'],
group: 'random-res',
memberName: 'ship',
description: 'Ships things/people together.',
args: [
{
key: 'things',
prompt: 'What do you want to ship together?',
key: 'thing1',
prompt: 'Who is the first person in the ship?',
type: 'string',
infinite: true
max: 500
},
{
key: 'thing2',
prompt: 'Who is the second person in the ship?',
type: 'string',
max: 500
}
]
});
}
run(msg, { things }) {
return msg.say(`I'd give ${list(things)} a ${Math.floor(Math.random() * 100) + 1}%!`);
run(msg, { thing1, thing2 }) {
return msg.say(`I'd give ${thing1} and ${thing2} a ${Math.floor(Math.random() * 100) + 1}%!`);
}
};