From d4a16cdec1020229b32b1f7b5a22ed323ee37f3f Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sun, 4 Apr 2021 15:49:31 -0500 Subject: [PATCH] =?UTF-8?q?Use=20message=20author=20tag=20for=20embed=20au?= =?UTF-8?q?thor=20field=20in=20the=20k=C3=BClboard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 7d1cf78..3df4c65 100644 --- a/bot.js +++ b/bot.js @@ -784,7 +784,7 @@ client.on('messageReactionAdd', (messageReaction, user) => { const kulboardEmbed = new Discord.MessageEmbed() .setTitle("Very kül message") .setURL(message.url) - .setAuthor(message.author, message.author.avatarURL()) + .setAuthor(message.author.tag, message.author.avatarURL()) .addField("Message", message.content) .addField("Channel", message.channel) .setThumbnail(message.author.avatarURL())