From a0147fd6a84dbb31b93a0315e9f433468abbb8d3 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Thu, 27 Sep 2018 19:06:28 +0200 Subject: [PATCH] removed useless thing --- commands/fun/reddit.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/commands/fun/reddit.js b/commands/fun/reddit.js index 8db8353f..dbd373fb 100644 --- a/commands/fun/reddit.js +++ b/commands/fun/reddit.js @@ -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()