mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 22:27:44 +02:00
Update to latest
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -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}%!`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user