This commit is contained in:
Loic Bersier 2018-12-30 05:35:51 +01:00
parent 6a0a30ee7e
commit a4e403ff6e
4 changed files with 30 additions and 2 deletions

View file

@ -9,6 +9,12 @@ class GodCommand extends Command {
super('god', {
aliases: ['god'],
category: 'images',
args: [
{
id: 'image',
type: 'string'
}
]
});
}
@ -21,7 +27,7 @@ class GodCommand extends Command {
return message.channel.send('Gif dosent work, sorry')
else if (!image)
image = Attachment[0].url
message.channel.send('Processing <a:loadingmin:527579785212329984>')
.then(loadingmsg => loadingmsg.delete(1000))

View file

@ -8,10 +8,22 @@ class IdubbbzCommand extends Command {
super('idubbbz', {
aliases: ['idubbbz', 'edups'],
category: 'images',
split: 'quoted',
args: [
{
id: 'text',
type: 'string'
},
{
id: 'image',
type: 'string'
}
]
});
}
async exec(message, args) {
let text = args.text;
let Attachment = (message.attachments).array();
let image = args.image;
if (!Attachment[0] && !image)

View file

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

View file

@ -12,7 +12,6 @@ class UglyCommand extends Command {
{
id: 'image',
type: 'string',
optional: true,
}
]
});