For some reason, bot messages sent from phones are different in the session than skypeforweb and skypeforlinux.
9 lines
265 B
JavaScript
9 lines
265 B
JavaScript
exports.send = function(session, texta) {
|
|
texta.forEach(function(text) {
|
|
session.send(text);
|
|
})
|
|
}
|
|
|
|
exports.regex = function(command) {
|
|
return RegExp ("^(<at id=\"\\S+\">(Dodsorbot|@28:b8381d78-ab09-496c-b382-860a98fa1dc3)<\\/at>\\s)?(" + command + ")", "i");
|
|
} |