Updated github regex to ignore internal Discord references.

This commit is contained in:
chris062689 2016-12-31 17:02:04 -05:00
parent 2030fb19d7
commit 4ac59532ae

View File

@ -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);