From 5a3b936aff218e89f7e123ae3902dc04cbeff5cf Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 20 Oct 2013 17:48:58 +0000 Subject: [PATCH] fix the regex --- modules/users/commands.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/users/commands.js b/modules/users/commands.js index 5ac79e4..9d3cf0f 100644 --- a/modules/users/commands.js +++ b/modules/users/commands.js @@ -197,6 +197,7 @@ var commands = function(dbot) { }; commands['~alias'].regex = [/^~alias ([\d\w[\]{}^|\\`_-]+?)/, 2]; + commands['~time'].regex = [/^~time ([\d\w[\]{}^|\\`_-]+?)/, 2]; commands['~setaliasparent'].regex = [/^~setaliasparent ([\d\w[\]{}^|\\`_-]+?)/, 2]; commands['~mergeusers'].regex = [/^~mergeusers ([\d\w[\]{}^|\\`_-]+?)\s*?([\d\w[\]{}^|\\`_-]+?)/, 3]; commands['~addalias'].regex = [/^~addalias ([\d\w[\]{}^|\\`_-]+?) ([\d\w[\]{}^|\\`_-]+?)$/, 3];