9 lines
222 B
JavaScript
9 lines
222 B
JavaScript
|
exports.send = function(session, texta) {
|
||
|
texta.forEach(function(text) {
|
||
|
session.send(text);
|
||
|
})
|
||
|
}
|
||
|
|
||
|
exports.regex = function(command) {
|
||
|
return RegExp ("^(<at id=\"\\S+\">Dodsorbot<\\/at>\\s)?(" + command + ")", "i");
|
||
|
}
|