mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 14:20:51 +02:00
Flip arguments in needs-more-jpeg
This commit is contained in:
@@ -16,12 +16,6 @@ module.exports = class NeedsMoreJpegCommand extends Command {
|
||||
},
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
args: [
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What image would you like to edit?',
|
||||
type: 'image',
|
||||
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
|
||||
},
|
||||
{
|
||||
key: 'quality',
|
||||
prompt: 'What quality should the resulting image use?',
|
||||
@@ -29,6 +23,12 @@ module.exports = class NeedsMoreJpegCommand extends Command {
|
||||
default: 0.5,
|
||||
min: 0.01,
|
||||
max: 10
|
||||
},
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What image would you like to edit?',
|
||||
type: 'image',
|
||||
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "116.1.4",
|
||||
"version": "116.1.5",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user