|
@ -337,6 +337,8 @@ async function generateRound(message) { |
|
|
newGeneratedRound = new generatedRound({ |
|
|
newGeneratedRound = new generatedRound({ |
|
|
htmlContent: finalizedHTML, |
|
|
htmlContent: finalizedHTML, |
|
|
requestedBy: message.author.id, |
|
|
requestedBy: message.author.id, |
|
|
|
|
|
authorTag: message.author.tag, |
|
|
|
|
|
timestamp: new Date().toISOString(), |
|
|
}); |
|
|
}); |
|
|
newGeneratedRound.save((err, round) => { |
|
|
newGeneratedRound.save((err, round) => { |
|
|
if (err) { |
|
|
if (err) { |
|
|