From 9cb76393d7d4abff14553af41a09d3c86b3787c7 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Thu, 27 Sep 2018 19:11:14 +0200 Subject: [PATCH] Renamed embed --- commands/fun/reddit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/fun/reddit.js b/commands/fun/reddit.js index feb0915..0b2197b 100644 --- a/commands/fun/reddit.js +++ b/commands/fun/reddit.js @@ -29,11 +29,11 @@ module.exports = class redditCommand extends Command { if (body.data.children[i].data.over_18 == true) { return message.say("No nsfw") } - const dogEmbed = new Discord.RichEmbed() + 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) - message.say(dogEmbed); + message.say(redditEmbed); } } \ No newline at end of file