mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 18:05:01 +02:00
Split Image and Avatar Types
This commit is contained in:
@@ -19,8 +19,7 @@ module.exports = class DominantColorCommand extends Command {
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What image would you like to test?',
|
||||
type: 'image',
|
||||
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
|
||||
type: 'image-or-avatar'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -29,7 +29,7 @@ module.exports = class FaceCommand extends Command {
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What face would you like to scan?',
|
||||
type: 'image'
|
||||
type: 'image-or-avatar'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -19,8 +19,7 @@ module.exports = class HasTransparencyCommand extends Command {
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What image would you like to test?',
|
||||
type: 'image',
|
||||
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
|
||||
type: 'image-or-avatar'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -18,8 +18,7 @@ module.exports = class ImageSizeCommand extends Command {
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What image would you like to get the size of?',
|
||||
type: 'image',
|
||||
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 2048 })
|
||||
type: 'image-or-avatar'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -19,8 +19,7 @@ module.exports = class OcrCommand extends Command {
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What image would you like to perform OCR on?',
|
||||
type: 'image',
|
||||
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 2048 })
|
||||
type: 'image-or-avatar'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -22,7 +22,7 @@ module.exports = class ReadQRCodeCommand extends Command {
|
||||
{
|
||||
key: 'image',
|
||||
prompt: 'What QR Code would you like to read?',
|
||||
type: 'image'
|
||||
type: 'image-or-avatar'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -24,8 +24,7 @@ module.exports = class WhatAnimeCommand extends Command {
|
||||
{
|
||||
key: 'screenshot',
|
||||
prompt: 'What screenshot do you want to scan?',
|
||||
type: 'image',
|
||||
default: msg => msg.author.displayAvatarURL({ format: 'png', size: 512 })
|
||||
type: 'image'
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user