|
@ -338,15 +338,15 @@ async function generateRound(message) { |
|
|
htmlContent: finalizedHTML, |
|
|
htmlContent: finalizedHTML, |
|
|
requestedBy: message.author.id, |
|
|
requestedBy: message.author.id, |
|
|
}); |
|
|
}); |
|
|
newGeneratedRound.save((err, round) => |
|
|
newGeneratedRound.save((err, round) => { |
|
|
if (err) { |
|
|
if (err) { |
|
|
console.log(err); |
|
|
console.log(err); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
message.channel.fetch(generatingMessage.id).edit(`https://api.adawesome.tech/round/${round._id.toString()}`); |
|
|
message.channel.fetch(generatingMessage.id).edit(`https://api.adawesome.tech/round/${round._id.toString()}`); |
|
|
); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|