diff --git a/bot.js b/bot.js index 8ffc6e645..257641ffb 100644 --- a/bot.js +++ b/bot.js @@ -21,7 +21,7 @@ function respond() { } else if(request.text && botRegexDL.test(request.text)) { this.res.writeHead(200); - postMessage("http://daddyleagues.com/ma32/team/"+request.text.substring(5,8)+"/depthchart"); + postMessage("http://daddyleagues.com/lfr/team/"+request.text.substring(5,8)+"/depthchart"); this.res.end(); } else if(request.text && botRegexSalt.test(request.text)) { @@ -46,14 +46,14 @@ function respond() { } else if(request.text && botRegexSC.test(request.text)) { this.res.writeHead(200); - postMessage("http://daddyleagues.com/ma32/team/"+request.text.substring(5,8)+"/schedule"); + postMessage("http://daddyleagues.com/lfr/team/"+request.text.substring(5,8)+"/schedule"); this.res.end(); } else if(request.text && botRegexP.test(request.text)) { this.res.writeHead(200); var req = request.text.substring(5,request.text.length); var rep = req.replace(/ /,"+"); - postMessage("http://daddyleagues.com/ma32/players?name="+rep+"&position=all&team=all"); + postMessage("http://daddyleagues.com/lfr/players?name="+rep+"&position=all&team=all"); this.res.end(); }