Roman numerals up to 4,999,999, quiz defaults to multiple

This commit is contained in:
Daniel Odendahl Jr
2018-02-23 02:43:06 +00:00
parent 604e099233
commit d8d005b2ce
4 changed files with 9 additions and 2 deletions
+1
View File
@@ -23,6 +23,7 @@ module.exports = class QuizCommand extends Command {
key: 'type',
prompt: `Which type of question would you like to have? Either ${list(types, 'or')}.`,
type: 'string',
default: 'multiple',
validate: type => {
if (types.includes(type.toLowerCase())) return true;
return `Invalid type, please enter either ${list(types, 'or')}.`;
+1 -1
View File
@@ -15,7 +15,7 @@ module.exports = class RomanNumeralCommand extends Command {
prompt: 'What number would you like to convert to roman numerals?',
type: 'integer',
min: 0,
max: 4999
max: 4999999
}
]
});