mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-11 15:57:50 +02:00
Split Image and Avatar Types
This commit is contained in:
@@ -15,7 +15,7 @@ module.exports = class ConvertImageCommand extends Command {
|
||||
aliases: ['convert-img', 'image-convert', 'img-convert'],
|
||||
group: 'edit-image',
|
||||
memberName: 'convert-image',
|
||||
description: 'Converts an image or user\'s avatar from one format to another.',
|
||||
description: 'Converts an image from one format to another.',
|
||||
details: `**Formats:** ${Object.keys(formats).join(', ')}`,
|
||||
throttling: {
|
||||
usages: 1,
|
||||
@@ -33,8 +33,7 @@ module.exports = class ConvertImageCommand extends Command {
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'Which image would you like to edit?',
|
||||
type: 'image',
|
||||
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
|
||||
type: 'image'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user