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