Remove prompt from all commands

This commit is contained in:
Dragon Fire
2024-03-30 00:30:52 -04:00
parent c258b41dae
commit 8d8198784e
400 changed files with 0 additions and 548 deletions
-1
View File
@@ -42,7 +42,6 @@ module.exports = class ApplesToApplesCommand extends Command {
{
key: 'maxPts',
label: 'awesome points',
prompt: 'What amount of awesome points should determine the winner?',
type: 'integer',
max: 20,
min: 1
-1
View File
@@ -20,7 +20,6 @@ module.exports = class BalloonPopCommand extends Command {
args: [
{
key: 'playersCount',
prompt: 'How many players are you expecting to have?',
type: 'integer',
min: 2,
max: 100
-1
View File
@@ -13,7 +13,6 @@ module.exports = class BattleCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to battle? To play against AI, choose me.',
type: 'user'
}
]
-1
View File
@@ -18,7 +18,6 @@ module.exports = class BingoCommand extends Command {
args: [
{
key: 'playersCount',
prompt: 'How many players are you expecting to have?',
type: 'integer',
min: 1,
max: 100
-2
View File
@@ -337,12 +337,10 @@ module.exports = class CarRaceCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge? To play against AI, choose me.',
type: 'user'
},
{
key: 'car',
prompt: `What car do you want to use? Either ${list(cars, 'or')}.`,
type: 'string',
oneOf: cars,
parse: car => car.toLowerCase()
@@ -42,7 +42,6 @@ module.exports = class CardsAgainstHumanityCommand extends Command {
{
key: 'maxPts',
label: 'awesome points',
prompt: 'What amount of awesome points should determine the winner?',
type: 'integer',
max: 20,
min: 1
-3
View File
@@ -35,19 +35,16 @@ module.exports = class ChessCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge? To play against AI, choose me.',
type: 'user'
},
{
key: 'time',
prompt: 'How long should the chess timers be set for (in minutes)? Use 0 for infinite.',
type: 'integer',
max: 120,
min: 0
},
{
key: 'fen',
prompt: 'What FEN would you like to use for the start board?',
type: 'string',
default: '',
validate: fen => validateFEN(fen)
-2
View File
@@ -28,12 +28,10 @@ module.exports = class ConnectFourCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge? To play against AI, choose me.',
type: 'user'
},
{
key: 'color',
prompt: `What color do you want to be? Either an emoji or one of ${list(Object.keys(colors), 'or')}.`,
type: 'custom-emoji|default-emoji|string',
validate: (color, msg) => {
const hasEmoji = new RegExp(`^(?:${emojiRegex().toString()})$`).test(color);
-3
View File
@@ -18,19 +18,16 @@ module.exports = class CramCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge?',
type: 'user'
},
{
key: 'color',
prompt: `What color do you want to be? Either ${list(Object.keys(colors), 'or')}.`,
type: 'string',
oneOf: Object.keys(colors),
parse: color => color.toLowerCase()
},
{
key: 'size',
prompt: 'What board size do you want to use?',
type: 'integer',
min: 3,
max: 10,
-3
View File
@@ -18,19 +18,16 @@ module.exports = class DomineeringCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge?',
type: 'user'
},
{
key: 'color',
prompt: `What color do you want to be? Either ${list(Object.keys(colors), 'or')}.`,
type: 'string',
oneOf: Object.keys(colors),
parse: color => color.toLowerCase()
},
{
key: 'size',
prompt: 'What board size do you want to use?',
type: 'integer',
min: 3,
max: 10,
-1
View File
@@ -15,7 +15,6 @@ module.exports = class DotsAndBoxesCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge?',
type: 'user'
}
]
@@ -23,7 +23,6 @@ module.exports = class EmojiEmojiRevolutionCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to play against?',
type: 'user'
}
]
-1
View File
@@ -40,7 +40,6 @@ module.exports = class GuesspionageCommand extends Command {
args: [
{
key: 'players',
prompt: 'How many players are you expecting to have?',
type: 'integer',
min,
max
-1
View File
@@ -15,7 +15,6 @@ module.exports = class GunfightCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to gunfight?',
type: 'user'
}
]
-1
View File
@@ -19,7 +19,6 @@ module.exports = class ImposterCommand extends Command {
{
key: 'playersCount',
label: 'players',
prompt: 'How many players are you expecting to have?',
type: 'integer',
min: 3,
max: 20
-1
View File
@@ -16,7 +16,6 @@ module.exports = class IslandCommand extends Command {
{
key: 'playersCount',
label: 'players',
prompt: 'How many players are you expecting to have?',
type: 'integer',
min: 3,
max: 20
-1
View File
@@ -20,7 +20,6 @@ module.exports = class JengaCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge? To play against AI, choose me.',
type: 'user'
}
]
-1
View File
@@ -31,7 +31,6 @@ module.exports = class LieSwatterCommand extends Command {
args: [
{
key: 'players',
prompt: 'How many players are you expecting to have?',
type: 'integer',
min: 1,
max: 100
-2
View File
@@ -14,12 +14,10 @@ module.exports = class NimCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge? To play against AI, choose me.',
type: 'user'
},
{
key: 'rows',
prompt: 'How many rows do you want to have?',
type: 'integer',
default: 5,
min: 1,
-2
View File
@@ -20,12 +20,10 @@ module.exports = class ObstructionCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge?',
type: 'user'
},
{
key: 'size',
prompt: 'What board size do you want to use?',
type: 'integer',
min: 6,
max: 10,
-1
View File
@@ -13,7 +13,6 @@ module.exports = class PickANumberCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to play against? To play against AI, choose me.',
type: 'user'
}
]
-1
View File
@@ -22,7 +22,6 @@ module.exports = class PokerCommand extends Command {
args: [
{
key: 'playersCount',
prompt: 'How many players are you expecting to have?',
type: 'integer',
min,
max
-1
View File
@@ -25,7 +25,6 @@ module.exports = class QuizDuelCommand extends Command {
args: [
{
key: 'players',
prompt: 'How many players are you expecting to have?',
type: 'integer',
min: 1,
max: 100
-1
View File
@@ -14,7 +14,6 @@ module.exports = class RussianRouletteCommand extends Command {
args: [
{
key: 'playersCount',
prompt: 'How many players are you expecting to have?',
type: 'integer',
min: 1,
max: 7
-1
View File
@@ -13,7 +13,6 @@ module.exports = class SpamWarCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge?',
type: 'user'
}
]
-1
View File
@@ -16,7 +16,6 @@ module.exports = class TicTacToeCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge? To play against AI, choose me.',
type: 'user'
}
]
-1
View File
@@ -13,7 +13,6 @@ module.exports = class TypingRaceCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to race against?',
type: 'user'
}
]
-2
View File
@@ -25,12 +25,10 @@ module.exports = class WordChainCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to challenge?',
type: 'user'
},
{
key: 'time',
prompt: 'How long do you want to wait for input of new words (in seconds)?',
type: 'integer',
default: 10,
max: 10,
-1
View File
@@ -22,7 +22,6 @@ module.exports = class WordSpudCommand extends Command {
args: [
{
key: 'opponent',
prompt: 'What user would you like to play against?',
type: 'user'
}
]