From 34e217a14c429e25cef20808d28e7a2e8b9456c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Fri, 3 May 2019 22:43:23 +0200 Subject: [PATCH] add the subreddit on embed --- commands/fun/reddit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/reddit.js b/commands/fun/reddit.js index 88cec35..71e1a4c 100644 --- a/commands/fun/reddit.js +++ b/commands/fun/reddit.js @@ -47,7 +47,7 @@ class RedditCommand extends Command { .setTitle(response.data.children[i].data.title) .setImage(response.data.children[i].data.url) .setURL('https://reddit.com' + response.data.children[i].data.permalink) - .setFooter(`⬆ ${response.data.children[i].data.ups} ⬇ ${response.data.children[i].data.num_comments}`); + .setFooter(`/r/${args.sub} | ⬆ ${response.data.children[i].data.ups} ⬇ ${response.data.children[i].data.num_comments}`); message.channel.send(redditEmbed); });