mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +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',
|
key: 'text',
|
||||||
prompt: 'What should the text of the achievement be?',
|
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',
|
key: 'title',
|
||||||
prompt: 'What should the title of the poster be?',
|
prompt: 'What should the title of the poster be?',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
max: 50,
|
||||||
parse: title => title.toUpperCase()
|
parse: title => title.toUpperCase()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'text',
|
key: 'text',
|
||||||
prompt: 'What should the text of the poster be?',
|
prompt: 'What should the text of the poster be?',
|
||||||
type: 'string'
|
type: 'string',
|
||||||
|
max: 100
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'image',
|
key: 'image',
|
||||||
|
|||||||
@@ -23,12 +23,14 @@ module.exports = class NewPasswordCommand extends Command {
|
|||||||
{
|
{
|
||||||
key: 'weak',
|
key: 'weak',
|
||||||
prompt: 'What should the text of the weak password be?',
|
prompt: 'What should the text of the weak password be?',
|
||||||
type: 'string'
|
type: 'string',
|
||||||
|
max: 50
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'strong',
|
key: 'strong',
|
||||||
prompt: 'What should the text of the strong password be?',
|
prompt: 'What should the text of the strong password be?',
|
||||||
type: 'string'
|
type: 'string',
|
||||||
|
max: 50
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "93.1.0",
|
"version": "93.1.1",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user