mirror of
https://github.com/yuzu-emu/Command-fix
synced 2024-11-24 19:18:08 +00:00
Updated github regex to ignore internal Discord references.
This commit is contained in:
parent
2030fb19d7
commit
4ac59532ae
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
var app = require('../app.js');
|
var app = require('../app.js');
|
||||||
var logger = require('../logging.js');
|
var logger = require('../logging.js');
|
||||||
|
|
||||||
var regex = /\#\d+./;
|
var regex = /[^\<]\#\d+[^\>]/;
|
||||||
|
|
||||||
exports.trigger = function(message) {
|
exports.trigger = function(message) {
|
||||||
return regex.test(message.content);
|
return regex.test(message.content);
|
||||||
|
|
Loading…
Reference in a new issue