Browse Source

Replace message.author with interaction.user

pull/10/head
Abheek Dhawan 4 years ago
parent
commit
e0574c2ab1
  1. 4
      bot/awesomescibo.js

4
bot/awesomescibo.js

@ -429,8 +429,8 @@ async function rounds(action, interaction) {
});
const roundsEmbed = new Discord.MessageEmbed()
.setAuthor(message.author.tag, message.author.displayAvatarURL())
.setTitle(`Last 5 rounds requested by ${message.author.tag}`)
.setAuthor(interaction.user.tag, interaction.user.displayAvatarURL())
.setTitle(`Last 5 rounds requested by ${interaction.user.tag}`)
.setDescription(finalMessage)
.setTimestamp();

Loading…
Cancel
Save