forked from Supositware/Haha-Yes
Dosen't allow gif anymore
This commit is contained in:
parent
a3c97834fb
commit
865c141b5b
7 changed files with 24 additions and 10 deletions
|
@ -23,6 +23,8 @@ module.exports = class fetishCommand extends Command {
|
||||||
let image = null
|
let image = null
|
||||||
if (!Attachment[0])
|
if (!Attachment[0])
|
||||||
image = message.author.displayAvatarURL
|
image = message.author.displayAvatarURL
|
||||||
|
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
|
||||||
|
return message.say('Gif dosent work, sorry')
|
||||||
else
|
else
|
||||||
image = Attachment[0].url
|
image = Attachment[0].url
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,8 @@ module.exports = class godCommand extends Command {
|
||||||
let image = null
|
let image = null
|
||||||
if (!Attachment[0])
|
if (!Attachment[0])
|
||||||
image = message.author.displayAvatarURL
|
image = message.author.displayAvatarURL
|
||||||
|
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
|
||||||
|
return message.say('Gif dosent work, sorry')
|
||||||
else
|
else
|
||||||
image = Attachment[0].url
|
image = Attachment[0].url
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,8 @@ module.exports = class humanCommand extends Command {
|
||||||
let image = null
|
let image = null
|
||||||
if (!Attachment[0])
|
if (!Attachment[0])
|
||||||
image = message.author.displayAvatarURL
|
image = message.author.displayAvatarURL
|
||||||
|
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
|
||||||
|
return message.say('Gif dosent work, sorry')
|
||||||
else
|
else
|
||||||
image = Attachment[0].url
|
image = Attachment[0].url
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,8 @@ module.exports = class idubbbzCommand extends Command {
|
||||||
let image = null
|
let image = null
|
||||||
if (!Attachment[0])
|
if (!Attachment[0])
|
||||||
image = message.author.displayAvatarURL
|
image = message.author.displayAvatarURL
|
||||||
|
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
|
||||||
|
return message.say('Gif dosent work, sorry')
|
||||||
else
|
else
|
||||||
image = Attachment[0].url
|
image = Attachment[0].url
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,8 @@ module.exports = class idubbbzpaintCommand extends Command {
|
||||||
let image = null
|
let image = null
|
||||||
if (!Attachment[0])
|
if (!Attachment[0])
|
||||||
image = message.author.displayAvatarURL
|
image = message.author.displayAvatarURL
|
||||||
|
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
|
||||||
|
return message.say('Gif dosent work, sorry')
|
||||||
else
|
else
|
||||||
image = Attachment[0].url
|
image = Attachment[0].url
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,8 @@ module.exports = class likeCommand extends Command {
|
||||||
let image = null
|
let image = null
|
||||||
if (!Attachment[0])
|
if (!Attachment[0])
|
||||||
image = message.author.displayAvatarURL
|
image = message.author.displayAvatarURL
|
||||||
|
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
|
||||||
|
return message.say('Gif dosent work, sorry')
|
||||||
else
|
else
|
||||||
image = Attachment[0].url
|
image = Attachment[0].url
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,8 @@ module.exports = class uglyCommand extends Command {
|
||||||
let image = null
|
let image = null
|
||||||
if (!Attachment[0])
|
if (!Attachment[0])
|
||||||
image = message.author.displayAvatarURL
|
image = message.author.displayAvatarURL
|
||||||
|
else if(Attachment[0] && Attachment[0].url.endsWith('gif'))
|
||||||
|
return message.say('Gif dosent work, sorry')
|
||||||
else
|
else
|
||||||
image = Attachment[0].url
|
image = Attachment[0].url
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue