Srs, another variant.
Hopefully that covers all of them
This commit is contained in:
parent
57651aaf2d
commit
75e5069dd1
@ -5,5 +5,5 @@ exports.send = function(session, texta) {
|
||||
}
|
||||
|
||||
exports.regex = function(command) {
|
||||
return RegExp ("^(<at id=\"\\S+\">(Dodsorbot|@28:b8381d78-ab09-496c-b382-860a98fa1dc3)<\\/at>\\s)?(" + command + ")", "i");
|
||||
return RegExp ("^(<at id=\"\\S+\">(@?Dodsorbot|@28:b8381d78-ab09-496c-b382-860a98fa1dc3)<\\/at>\\s)?(" + command + ")", "i");
|
||||
}
|
Loading…
Reference in New Issue
Block a user