adding additional haskell triggers

This commit is contained in:
Jan-Stefan Janetzky 2017-03-24 11:42:34 +01:00
parent 4ea998543b
commit d50d40cdeb

View File

@ -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;