From 90440224ac933230ad3b4d3657a345df65feca40 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Wed, 28 Jun 2017 11:52:40 +0200 Subject: [PATCH] Say the url too + upgrade irc; --- index.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index e5cd86d..4a38c1a 100644 --- a/index.js +++ b/index.js @@ -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); } diff --git a/package.json b/package.json index 21c4ac9..7abfadf 100644 --- a/package.json +++ b/package.json @@ -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" } }