mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 00:07:36 +02:00
Remove prompt from all commands
This commit is contained in:
@@ -21,7 +21,6 @@ module.exports = class EightBallCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'question',
|
||||
prompt: 'What do you want to ask the 8 ball?',
|
||||
type: 'string',
|
||||
max: 1950
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@ module.exports = class AcrosticCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'word',
|
||||
prompt: 'What word do you want to use to generate the acrostic? Only letters and spaces.',
|
||||
type: 'string',
|
||||
max: 20,
|
||||
validate: word => {
|
||||
|
||||
@@ -11,7 +11,6 @@ module.exports = class ChooseCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'choices',
|
||||
prompt: 'What choices do you want me pick from?',
|
||||
type: 'string',
|
||||
infinite: true,
|
||||
max: 1950
|
||||
|
||||
@@ -11,7 +11,6 @@ module.exports = class ComplimentCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'What user do you want to compliment?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ module.exports = class DrawCardsCommand extends Command {
|
||||
{
|
||||
key: 'amount',
|
||||
label: 'hand size',
|
||||
prompt: 'How many cards do you want to draw?',
|
||||
type: 'integer',
|
||||
max: 10,
|
||||
min: 1
|
||||
|
||||
@@ -13,7 +13,6 @@ module.exports = class FakePollCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'question',
|
||||
prompt: 'What do you want to ask?',
|
||||
type: 'string',
|
||||
max: 500
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@ module.exports = class IncorrectQuoteCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'characters',
|
||||
prompt: 'What characters do you want to use? Up to 6.',
|
||||
type: 'string',
|
||||
max: 20,
|
||||
infinite: true
|
||||
|
||||
@@ -34,21 +34,18 @@ module.exports = class KissMarryKillCommand extends Command {
|
||||
{
|
||||
key: 'first',
|
||||
label: 'first name',
|
||||
prompt: 'Who is the first person you choose?',
|
||||
type: 'string',
|
||||
max: 500
|
||||
},
|
||||
{
|
||||
key: 'second',
|
||||
label: 'second name',
|
||||
prompt: 'Who is the second person you choose?',
|
||||
type: 'string',
|
||||
max: 500
|
||||
},
|
||||
{
|
||||
key: 'third',
|
||||
label: 'third name',
|
||||
prompt: 'Who is the third person you choose?',
|
||||
type: 'string',
|
||||
max: 500
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@ module.exports = class LoremIpsumCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'characters',
|
||||
prompt: 'How many characters do you want the text to be?',
|
||||
type: 'integer',
|
||||
min: 56,
|
||||
max: 2000
|
||||
|
||||
@@ -21,7 +21,6 @@ module.exports = class MagicConchCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'question',
|
||||
prompt: 'What do you want to ask the magic conch?',
|
||||
type: 'string',
|
||||
max: 1950
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
const Command = require('../../framework/Command');
|
||||
const request = require('node-superfetch');
|
||||
const { list } = require('../../util/Util');
|
||||
const genders = ['male', 'female', 'both'];
|
||||
|
||||
module.exports = class NameCommand extends Command {
|
||||
@@ -21,7 +20,6 @@ module.exports = class NameCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'gender',
|
||||
prompt: `Which gender do you want to generate a name for? Either ${list(genders, 'or')}.`,
|
||||
type: 'string',
|
||||
default: 'both',
|
||||
oneOf: genders,
|
||||
|
||||
@@ -19,7 +19,6 @@ module.exports = class NumberFactCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'number',
|
||||
prompt: 'What number do you want to get a fact for?',
|
||||
type: 'integer'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -12,7 +12,6 @@ module.exports = class OpinionCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'question',
|
||||
prompt: 'What do you want to get an opinion on?',
|
||||
type: 'string',
|
||||
max: 1950
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ module.exports = class RankCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'choices',
|
||||
prompt: 'What choices do you want me rank?',
|
||||
type: 'string',
|
||||
infinite: true,
|
||||
max: 150
|
||||
|
||||
@@ -11,7 +11,6 @@ module.exports = class RateCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'thing',
|
||||
prompt: 'What do you want to rate?',
|
||||
type: 'string',
|
||||
max: 1950
|
||||
}
|
||||
|
||||
@@ -12,7 +12,6 @@ module.exports = class RoastCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'What user do you want to roast?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
}
|
||||
|
||||
@@ -13,7 +13,6 @@ module.exports = class RollCommand extends Command {
|
||||
{
|
||||
key: 'maxValue',
|
||||
label: 'highest number',
|
||||
prompt: 'What is the highest number you wish to appear?',
|
||||
type: 'integer',
|
||||
default: 6,
|
||||
min: 1,
|
||||
@@ -22,7 +21,6 @@ module.exports = class RollCommand extends Command {
|
||||
{
|
||||
key: 'minValue',
|
||||
label: 'lowest number',
|
||||
prompt: 'What is the lowest number you wish to appear?',
|
||||
type: 'integer',
|
||||
default: 0,
|
||||
min: 0,
|
||||
|
||||
@@ -13,7 +13,6 @@ module.exports = class YesNoCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'question',
|
||||
prompt: 'What do you want to get an answer for?',
|
||||
type: 'string',
|
||||
max: 1950
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user