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() const roundsEmbed = new Discord.MessageEmbed()
.setAuthor(message.author.tag, message.author.displayAvatarURL()) .setAuthor(interaction.user.tag, interaction.user.displayAvatarURL())
.setTitle(`Last 5 rounds requested by ${message.author.tag}`) .setTitle(`Last 5 rounds requested by ${interaction.user.tag}`)
.setDescription(finalMessage) .setDescription(finalMessage)
.setTimestamp(); .setTimestamp();

Loading…
Cancel
Save