From 4ac59532ae65fdb82fb0c55a01b5149618626724 Mon Sep 17 00:00:00 2001 From: chris062689 Date: Sat, 31 Dec 2016 17:02:04 -0500 Subject: [PATCH] Updated github regex to ignore internal Discord references. --- triggers/github.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triggers/github.js b/triggers/github.js index d7cbb47..0f1c699 100644 --- a/triggers/github.js +++ b/triggers/github.js @@ -1,7 +1,7 @@ var app = require('../app.js'); var logger = require('../logging.js'); -var regex = /\#\d+./; +var regex = /[^\<]\#\d+[^\>]/; exports.trigger = function(message) { return regex.test(message.content);