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)