Merge pull request #50 from ajayyy/experimental

Fixed discord error
This commit is contained in:
Ajay Ramachandran 2019-12-28 13:41:31 -05:00 committed by GitHub
commit 65d90495eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -375,7 +375,7 @@ app.get('/api/voteOnSponsorTime', function (req, res) {
"title": data.items[0].snippet.title,
"url": "https://www.youtube.com/watch?v=" + submissionInfoResult.row.videoID +
"&t=" + (submissionInfoResult.row.startTime.toFixed(0) - 2),
"description": "**" + row.votes + " Votes Prior | " (row.votes + incrementAmount - oldIncrementAmount) + " Votes Now | " + row.views +
"description": "**" + row.votes + " Votes Prior | " + (row.votes + incrementAmount - oldIncrementAmount) + " Votes Now | " + row.views +
" Views**\n\nSubmission ID: " + UUID +
"\n\nSubmitted by: " + submissionInfoResult.row.userID + "\n\nTimestamp: " +
getFormattedTime(submissionInfoResult.row.startTime) + " to " + getFormattedTime(submissionInfoResult.row.endTime),