Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ 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", "👍", "disapprove"];
const DOWNVOTES = ["-1", "downvote", "i dislike it", "i really dislike it", "i hate it", "i really hate it", "👎", "approve"];var GitHub = require('github-api');
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't disapprove be a downvote, and approve be an upvote?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha Ha


var GitHub = require('github-api');

// basic auth
Expand Down