mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +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
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "93.1.0",
|
||||
"version": "93.1.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user