mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 21:40:51 +02:00
Add maxes to lots of image edit commands
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user