|
|
@ -8,10 +8,21 @@ class IdubbbzPaintCommand extends Command {
|
|
|
|
super('idubbbzpaint', {
|
|
|
|
super('idubbbzpaint', {
|
|
|
|
aliases: ['idubbbzpaint', 'edupspaint'],
|
|
|
|
aliases: ['idubbbzpaint', 'edupspaint'],
|
|
|
|
category: 'images',
|
|
|
|
category: 'images',
|
|
|
|
|
|
|
|
args: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
id: 'text',
|
|
|
|
|
|
|
|
type: 'string'
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
id: 'image',
|
|
|
|
|
|
|
|
type: 'string'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
async exec(message, args) {
|
|
|
|
async exec(message, args) {
|
|
|
|
|
|
|
|
let text = args.text;
|
|
|
|
let Attachment = (message.attachments).array();
|
|
|
|
let Attachment = (message.attachments).array();
|
|
|
|
let image = args.image;
|
|
|
|
let image = args.image;
|
|
|
|
if (!Attachment[0] && !image)
|
|
|
|
if (!Attachment[0] && !image)
|
|
|
|