Browse Source

Use interaction.user instead of undefined interaction.author

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

4
bot/awesomescibo.js

@ -396,8 +396,8 @@ async function rounds(action, interaction) {
}
newGeneratedRound = new generatedRound({
htmlContent: finalizedHTML,
requestedBy: interaction.author.id,
authorTag: interaction.author.tag,
requestedBy: interaction.user.id,
authorTag: interaction.user.tag,
timestamp: new Date().toISOString(),
});
newGeneratedRound.save((err, round) => {

Loading…
Cancel
Save