Browse Source

Use message author tag for embed author field in the külboard

master
Abheek Dhawan 4 years ago
parent
commit
d4a16cdec1
  1. 2
      bot.js

2
bot.js

@ -784,7 +784,7 @@ client.on('messageReactionAdd', (messageReaction, user) => {
const kulboardEmbed = new Discord.MessageEmbed() const kulboardEmbed = new Discord.MessageEmbed()
.setTitle("Very kül message") .setTitle("Very kül message")
.setURL(message.url) .setURL(message.url)
.setAuthor(message.author, message.author.avatarURL()) .setAuthor(message.author.tag, message.author.avatarURL())
.addField("Message", message.content) .addField("Message", message.content)
.addField("Channel", message.channel) .addField("Channel", message.channel)
.setThumbnail(message.author.avatarURL()) .setThumbnail(message.author.avatarURL())

Loading…
Cancel
Save