Add maxes to lots of image edit commands

This commit is contained in:
Daniel Odendahl Jr
2018-10-09 01:07:03 +00:00
parent 3efb476a8c
commit 475964abf4
4 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ module.exports = class AchievementCommand extends Command {
{
key: 'text',
prompt: 'What should the text of the achievement be?',
type: 'string'
type: 'string',
max: 50
}
]
});
+3 -1
View File
@@ -25,12 +25,14 @@ module.exports = class DemotivationalPosterCommand extends Command {
key: 'title',
prompt: 'What should the title of the poster be?',
type: 'string',
max: 50,
parse: title => title.toUpperCase()
},
{
key: 'text',
prompt: 'What should the text of the poster be?',
type: 'string'
type: 'string',
max: 100
},
{
key: 'image',
+4 -2
View File
@@ -23,12 +23,14 @@ module.exports = class NewPasswordCommand extends Command {
{
key: 'weak',
prompt: 'What should the text of the weak password be?',
type: 'string'
type: 'string',
max: 50
},
{
key: 'strong',
prompt: 'What should the text of the strong password be?',
type: 'string'
type: 'string',
max: 50
}
]
});
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "93.1.0",
"version": "93.1.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {