adding additional haskell triggers
This commit is contained in:
parent
4ea998543b
commit
d50d40cdeb
|
@ -182,12 +182,16 @@ p.run = function (o) {
|
||||||
client.say(o.to, o.from + ": i'd choose: " + choice);
|
client.say(o.to, o.from + ": i'd choose: " + choice);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
case ".mdn":
|
||||||
case "mdn":
|
case "mdn":
|
||||||
o.args += " site:developer.mozilla.org";
|
o.args += " site:developer.mozilla.org";
|
||||||
googleSearch(client, o);
|
googleSearch(client, o);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case "hoogle":
|
case "hoogle":
|
||||||
|
case ".hs":
|
||||||
|
case "hs":
|
||||||
|
case "hss":
|
||||||
o.args += " site:www.haskell.org/hoogle/";
|
o.args += " site:www.haskell.org/hoogle/";
|
||||||
googleSearch(client, o);
|
googleSearch(client, o);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user