removed useless thing

This commit is contained in:
loicbersier 2018-09-27 19:06:28 +02:00
parent 500908134c
commit a0147fd6a8

View file

@ -26,9 +26,7 @@ module.exports = class RandoCatCommand extends Command {
while (body.data.children[i].data.post_hint !== 'image') {
i = Math.floor((Math.random() * 10) + 1);
}
if (body.data.children[i].data.crosspost_parent_list == true) {
return message.say('test')
}else if (body.data.children[i].data.over_18 == true) {
if (body.data.children[i].data.over_18 == true) {
return message.say("No nsfw")
}
const dogEmbed = new Discord.RichEmbed()