Skip to content
Browse files

Implement 'thanks'

  • Loading branch information...
1 parent 07e22c9 commit 8fbb2cbdde526a5bd258e405a7b6c75e85549810 James Socol committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 jig.js
View
2 jig.js
@@ -63,6 +63,8 @@ client.on('message', function(from, to, msg) {
msg = msg.toLowerCase();
if (msg.indexOf(IRCNICK) == 0 && /botsnack\s*$/i.test(msg)) {
client.say(to, 'YUMMY');
+ } else if (msg.indexOf(IRCNICK) == 0 && /thanks/i.test(msg)) {
+ client.say(to, 'no problem!');
} else if (PULLREQRE.test(msg)) {
var m = PULLREQRE.exec(msg);
github.pullRequests.get({user: CONFIG.github.user, repo: CONFIG.github.repo, number: m[1]}, function(err, pull) {

0 comments on commit 8fbb2cb

Please sign in to comment.
Something went wrong with that request. Please try again.