From 75e5069dd1b2ad60b407b1f8fb556ae658e25927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Sun, 21 Aug 2016 22:10:46 +0200 Subject: [PATCH] Srs, another variant. Hopefully that covers all of them --- dodsorfas/Skypebot/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dodsorfas/Skypebot/helper.js b/dodsorfas/Skypebot/helper.js index dd6cf08..1740376 100644 --- a/dodsorfas/Skypebot/helper.js +++ b/dodsorfas/Skypebot/helper.js @@ -5,5 +5,5 @@ exports.send = function(session, texta) { } exports.regex = function(command) { - return RegExp ("^((Dodsorbot|@28:b8381d78-ab09-496c-b382-860a98fa1dc3)<\\/at>\\s)?(" + command + ")", "i"); + return RegExp ("^((@?Dodsorbot|@28:b8381d78-ab09-496c-b382-860a98fa1dc3)<\\/at>\\s)?(" + command + ")", "i"); } \ No newline at end of file