From 8f9d991a6c6e0c8698fc17cee972d2f53f809620 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Sat, 28 Dec 2019 13:41:13 -0500 Subject: [PATCH] Fixed discord error. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d61ca87..c651fc5 100644 --- a/index.js +++ b/index.js @@ -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),