mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-12-23 04:05:35 +00:00
Github Trigger Regex now accepts the full number.
This commit is contained in:
parent
4b997e5409
commit
2030fb19d7
|
@ -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