Dosen't allow gif anymore

Commando
loicbersier 6 years ago
parent a3c97834fb
commit 865c141b5b

@ -23,6 +23,8 @@ module.exports = class fetishCommand extends Command {
let image = null
if (!Attachment[0])
image = message.author.displayAvatarURL
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
return message.say('Gif dosent work, sorry')
else
image = Attachment[0].url

@ -23,6 +23,8 @@ module.exports = class godCommand extends Command {
let image = null
if (!Attachment[0])
image = message.author.displayAvatarURL
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
return message.say('Gif dosent work, sorry')
else
image = Attachment[0].url

@ -23,6 +23,8 @@ module.exports = class humanCommand extends Command {
let image = null
if (!Attachment[0])
image = message.author.displayAvatarURL
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
return message.say('Gif dosent work, sorry')
else
image = Attachment[0].url

@ -32,6 +32,8 @@ module.exports = class idubbbzCommand extends Command {
let image = null
if (!Attachment[0])
image = message.author.displayAvatarURL
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
return message.say('Gif dosent work, sorry')
else
image = Attachment[0].url

@ -32,6 +32,8 @@ module.exports = class idubbbzpaintCommand extends Command {
let image = null
if (!Attachment[0])
image = message.author.displayAvatarURL
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
return message.say('Gif dosent work, sorry')
else
image = Attachment[0].url

@ -23,6 +23,8 @@ module.exports = class likeCommand extends Command {
let image = null
if (!Attachment[0])
image = message.author.displayAvatarURL
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
return message.say('Gif dosent work, sorry')
else
image = Attachment[0].url

@ -23,6 +23,8 @@ module.exports = class uglyCommand extends Command {
let image = null
if (!Attachment[0])
image = message.author.displayAvatarURL
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
return message.say('Gif dosent work, sorry')
else
image = Attachment[0].url

Loading…
Cancel
Save