From d50d40cdeb54c935364051e23c112778af1a9f24 Mon Sep 17 00:00:00 2001 From: Jan-Stefan Janetzky Date: Fri, 24 Mar 2017 11:42:34 +0100 Subject: [PATCH] adding additional haskell triggers --- chatCommands.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chatCommands.js b/chatCommands.js index f13ab0d..3ff61b2 100644 --- a/chatCommands.js +++ b/chatCommands.js @@ -182,12 +182,16 @@ p.run = function (o) { client.say(o.to, o.from + ": i'd choose: " + choice); return true; + case ".mdn": case "mdn": o.args += " site:developer.mozilla.org"; googleSearch(client, o); return true; case "hoogle": + case ".hs": + case "hs": + case "hss": o.args += " site:www.haskell.org/hoogle/"; googleSearch(client, o); return true;