diff --git a/bot/awesomescibo.js b/bot/awesomescibo.js index 6a5ae21..50ca967 100755 --- a/bot/awesomescibo.js +++ b/bot/awesomescibo.js @@ -441,7 +441,7 @@ async function rounds(action, interaction) { }); } else if (action === "hit"){ let totalCount = await generatedRound.countDocuments({}); - let userCount = await generatedRound.countDocuments({ requestedBy: interaction.author.id }); + let userCount = await generatedRound.countDocuments({ requestedBy: interaction.user.id }); interaction.reply(`Total Hits: ${totalCount}\nYour Hits: ${userCount}`); }