From 2030fb19d7492d5182c40976085f9dcc01421fe0 Mon Sep 17 00:00:00 2001 From: chris062689 Date: Sat, 31 Dec 2016 00:54:05 -0500 Subject: [PATCH] Github Trigger Regex now accepts the full number. --- triggers/github.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triggers/github.js b/triggers/github.js index 5fafad4..d7cbb47 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);