Split Image and Avatar Types

This commit is contained in:
Dragon Fire
2021-01-30 12:02:37 -05:00
parent d84d4faa8c
commit 39e5c4d02e
89 changed files with 118 additions and 101 deletions
+2 -3
View File
@@ -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'
}
]
});