Fix Starboard

This commit is contained in:
Daniel Odendahl Jr
2017-03-24 17:38:29 +00:00
parent fcb42982a6
commit bce2ea3923
+1 -1
View File
@@ -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)