From 8f1878113ce3d12c5e9ebbd16aafebbb97102a9a Mon Sep 17 00:00:00 2001 From: loicbersier Date: Thu, 27 Sep 2018 22:49:48 +0200 Subject: [PATCH] added upvotes and comments --- commands/fun/reddit.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/fun/reddit.js b/commands/fun/reddit.js index 566a4ee..ecb759b 100644 --- a/commands/fun/reddit.js +++ b/commands/fun/reddit.js @@ -29,12 +29,13 @@ module.exports = class redditCommand extends Command { i = Math.floor((Math.random() * 20) + 1); } if (body.data.children[i].data.over_18 == true) { - return message.say("No nsfw") + return message.say("No nsfw ( if you want a nsfw version of this commands use the feedback commands \"haha feedback \")") } const redditEmbed = new Discord.RichEmbed() .setColor("#ff9900") .setTitle(body.data.children[i].data.title) .setImage(body.data.children[i].data.preview.images[0].source.url) + .setFooter(`⬆ ${body.data.children[i].data.ups} 💬 ${body.data.children[i].data.num_comments}`) message.say(redditEmbed); }