forked from Supositware/Haha-Yes
This commit is contained in:
parent
6a0a30ee7e
commit
a4e403ff6e
4 changed files with 30 additions and 2 deletions
|
@ -9,6 +9,12 @@ class GodCommand extends Command {
|
|||
super('god', {
|
||||
aliases: ['god'],
|
||||
category: 'images',
|
||||
args: [
|
||||
{
|
||||
id: 'image',
|
||||
type: 'string'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -12,7 +12,6 @@ class UglyCommand extends Command {
|
|||
{
|
||||
id: 'image',
|
||||
type: 'string',
|
||||
optional: true,
|
||||
}
|
||||
]
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue