mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Roman numerals up to 4,999,999, quiz defaults to multiple
This commit is contained in:
@@ -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')}.`;
|
||||
|
||||
Reference in New Issue
Block a user