forked from Supositware/Haha-Yes
Fix error
This commit is contained in:
parent
468cf18c86
commit
776f53c563
6 changed files with 6 additions and 6 deletions
|
@ -21,7 +21,7 @@ class FetishCommand extends Command {
|
|||
let Attachment = (message.attachments).array();
|
||||
let image = args.image;
|
||||
if (!Attachment[0] && !image)
|
||||
image = message.author.displayAvatarURL();
|
||||
image = message.author.displayAvatarURL('png');
|
||||
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
|
||||
return message.channel.send('Gif dosent work, sorry');
|
||||
else if (!image)
|
||||
|
|
|
@ -21,7 +21,7 @@ class GodCommand extends Command {
|
|||
let Attachment = (message.attachments).array();
|
||||
let image = args.image;
|
||||
if (!Attachment[0] && !image)
|
||||
image = message.author.displayAvatarURL();
|
||||
image = message.author.displayAvatarURL('png');
|
||||
else if (Attachment[0] && Attachment[0].url.endsWith('gif'))
|
||||
return message.channel.send('Gif dosent work, sorry');
|
||||
else if (!image)
|
||||
|
|
|
@ -27,7 +27,7 @@ class IdubbbzCommand extends Command {
|
|||
let Attachment = (message.attachments).array();
|
||||
let image = args.image;
|
||||
if (!Attachment[0] && !image)
|
||||
image = message.author.displayAvatarURL();
|
||||
image = message.author.displayAvatarURL('png');
|
||||
else if (Attachment[0] && Attachment[0].url.endsWith('gif'))
|
||||
return message.channel.send('Gif dosent work, sorry');
|
||||
else if (!image)
|
||||
|
|
|
@ -26,7 +26,7 @@ class IdubbbzPaintCommand extends Command {
|
|||
let Attachment = (message.attachments).array();
|
||||
let image = args.image;
|
||||
if (!Attachment[0] && !image)
|
||||
image = message.author.displayAvatarURL();
|
||||
image = message.author.displayAvatarURL('png');
|
||||
else if (Attachment[0] && Attachment[0].url.endsWith('gif'))
|
||||
return message.channel.send('Gif dosent work, sorry');
|
||||
else if (!image)
|
||||
|
|
|
@ -20,7 +20,7 @@ class LikeCommand extends Command {
|
|||
let Attachment = (message.attachments).array();
|
||||
let image = args.image;
|
||||
if (!Attachment[0] && !image)
|
||||
image = message.author.displayAvatarURL();
|
||||
image = message.author.displayAvatarURL('png');
|
||||
else if (Attachment[0] && Attachment[0].url.endsWith('gif'))
|
||||
return message.channel.send('Gif dosent work, sorry');
|
||||
else if (!image)
|
||||
|
|
|
@ -20,7 +20,7 @@ class UglyCommand extends Command {
|
|||
let Attachment = (message.attachments).array();
|
||||
let image = args.image;
|
||||
if (!Attachment[0] && !image)
|
||||
image = message.author.displayAvatarURL();
|
||||
image = message.author.displayAvatarURL('png');
|
||||
else if (Attachment[0] && Attachment[0].url.endsWith('gif'))
|
||||
return message.channel.send('Gif dosent work, sorry');
|
||||
else if (!image)
|
||||
|
|
Loading…
Reference in a new issue