From bce2ea3923ea84cdf8834143d69e543370ca7ec1 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Fri, 24 Mar 2017 17:38:29 +0000 Subject: [PATCH] Fix Starboard --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 993b3061..8d336ca7 100644 --- a/index.js +++ b/index.js @@ -68,7 +68,7 @@ client.on('messageReactionAdd', (reaction, user) => { else { if (reaction.message.attachments.size > 0 && reaction.message.attachments.first().height) { const embed = new Discord.RichEmbed() - .setAuthor(user.username, user.avatarURL) + .setAuthor(reaction.message.author.username, reaction.message.author.avatarURL) .setColor(0xFFA500) .setTimestamp() .setImage(reaction.message.attachments.first().url)