Fixed for phones
For some reason, bot messages sent from phones are different in the session than skypeforweb and skypeforlinux.
This commit is contained in:
parent
7db432a293
commit
57651aaf2d
@ -5,5 +5,5 @@ exports.send = function(session, texta) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
exports.regex = function(command) {
|
exports.regex = function(command) {
|
||||||
return RegExp ("^(<at id=\"\\S+\">Dodsorbot<\\/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