mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 13:56:43 +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 })
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user