1
0
Fork 0
Loic Bersier 6 years ago
parent 6a0a30ee7e
commit a4e403ff6e

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

@ -8,10 +8,22 @@ class IdubbbzCommand extends Command {
super('idubbbz', { super('idubbbz', {
aliases: ['idubbbz', 'edups'], aliases: ['idubbbz', 'edups'],
category: 'images', category: 'images',
split: 'quoted',
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)

@ -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)

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

Loading…
Cancel
Save