From 1afb5e56e756912a3fccc5506f2a091b068340c9 Mon Sep 17 00:00:00 2001 From: Kroppeb Date: Tue, 28 Nov 2017 21:21:39 +0100 Subject: [PATCH 1/3] Added some thumbs --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index b704bb1..5c6dadc 100644 --- a/index.js +++ b/index.js @@ -9,8 +9,8 @@ if (PROD) { } const THRESHOLD = 4; const { exec } = require('child_process'); -const UPVOTES = ["+1", "upvote", "i like it", "i really like it"]; -const DOWNVOTES = ["-1", "downvote", "i dislike it", "i really dislike it", "i hate it", "i really hate it"]; +const UPVOTES = ["+1", "upvote", "i like it", "i really like it", "๐Ÿ‘"]; +const DOWNVOTES = ["-1", "downvote", "i dislike it", "i really dislike it", "i hate it", "i really hate it", "๐Ÿ‘Ž"]; var GitHub = require('github-api'); // basic auth @@ -73,7 +73,7 @@ function lookAtPrs() { console.log("An update caused the new server code to exit: #" + prOverview.number); process.exit(1); }); - + } else { console.log("Attempted, but failed, to merge #" + prOverview.number + ", with a status of " + res.status); From 289598f810aa6386c6e34b1d792a57e50ecf64e1 Mon Sep 17 00:00:00 2001 From: Kroppeb Date: Tue, 28 Nov 2017 21:29:06 +0100 Subject: [PATCH 2/3] Gotta have some love =) --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 5c6dadc..f65e00e 100644 --- a/index.js +++ b/index.js @@ -9,8 +9,8 @@ if (PROD) { } const THRESHOLD = 4; const { exec } = require('child_process'); -const UPVOTES = ["+1", "upvote", "i like it", "i really like it", "๐Ÿ‘"]; -const DOWNVOTES = ["-1", "downvote", "i dislike it", "i really dislike it", "i hate it", "i really hate it", "๐Ÿ‘Ž"]; +const UPVOTES = ["+1", "upvote", "i like it", "i really like it", "๐Ÿ’“", "๐Ÿ’—", "๐Ÿ’š", "๐Ÿ’ž", "๐Ÿ’™", "๐Ÿ’œ", "๐Ÿ’Ÿ", "๐Ÿ’–", "๐Ÿ’›", "๐Ÿ’•", "โค๏ธ", "โ™ฅ๏ธ", "๐Ÿงก"]; +const DOWNVOTES = ["-1", "downvote", "i dislike it", "i really dislike it", "i hate it", "i really hate it"]; var GitHub = require('github-api'); // basic auth From 0349eab424bf8c4da5649daa326e796da0d916da Mon Sep 17 00:00:00 2001 From: Kroppeb Date: Thu, 30 Nov 2017 22:19:18 +0100 Subject: [PATCH 3/3] readded thumbs because it was branched at a wrong point --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index f65e00e..b111db6 100644 --- a/index.js +++ b/index.js @@ -9,8 +9,8 @@ if (PROD) { } const THRESHOLD = 4; const { exec } = require('child_process'); -const UPVOTES = ["+1", "upvote", "i like it", "i really like it", "๐Ÿ’“", "๐Ÿ’—", "๐Ÿ’š", "๐Ÿ’ž", "๐Ÿ’™", "๐Ÿ’œ", "๐Ÿ’Ÿ", "๐Ÿ’–", "๐Ÿ’›", "๐Ÿ’•", "โค๏ธ", "โ™ฅ๏ธ", "๐Ÿงก"]; -const DOWNVOTES = ["-1", "downvote", "i dislike it", "i really dislike it", "i hate it", "i really hate it"]; +const UPVOTES = ["+1", "upvote", "i like it", "i really like it", "๐Ÿ‘", "๐Ÿ’“", "๐Ÿ’—", "๐Ÿ’š", "๐Ÿ’ž", "๐Ÿ’™", "๐Ÿ’œ", "๐Ÿ’Ÿ", "๐Ÿ’–", "๐Ÿ’›", "๐Ÿ’•", "โค๏ธ", "โ™ฅ๏ธ", "๐Ÿงก"]; +const DOWNVOTES = ["-1", "downvote", "i dislike it", "i really dislike it", "i hate it", "i really hate it", "๐Ÿ‘Ž"]; var GitHub = require('github-api'); // basic auth