Say the url too + upgrade irc;

This commit is contained in:
Benjamin Bouvier 2017-06-28 11:52:40 +02:00
parent 6f478ff1c1
commit 90440224ac
2 changed files with 2 additions and 1 deletions

View File

@ -231,6 +231,7 @@ function fetch_and_say(isIssue, id, from, chan) {
var title = cheerio.load(body)('head title').text();
if (title.length) {
client.say(to, title);
client.say(to, url);
} else {
client.say(to, text_prefix + id + ": " + url);
}

View File

@ -9,7 +9,7 @@
"body-parser": "1.17.2",
"cheerio": "0.22.0",
"express": "4.15.3",
"irc": "0.3.9",
"irc": "0.5.2",
"request": "2.81.0"
}
}