From d2de7a27a5f91a474d0ac197660edfcdc791d956 Mon Sep 17 00:00:00 2001 From: Kcsmith240 Date: Sat, 14 Jan 2017 20:09:40 -0500 Subject: [PATCH 1/5] Update bot.js --- bot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot.js b/bot.js index 624c20365..5dfee554e 100644 --- a/bot.js +++ b/bot.js @@ -76,7 +76,7 @@ function respond() { else if(request.text && botRegexDL.test(request.text)) { this.res.writeHead(200); //postMessage("http://www.daddyleagues.com/maddenrating?name=&position=all&team="+request.text.substring(5,8)); - postMessage("http://daddyleagues.com/maddenall32/team/"+request.text.substring(5,8)+"/depthchart"); + postMessage("http://daddyleagues.com/ams/team/"+request.text.substring(5,8)+"/depthchart"); this.res.end(); } @@ -108,14 +108,14 @@ function respond() { else if(request.text && botRegexSC.test(request.text)) { this.res.writeHead(200); - postMessage("http://daddyleagues.com/maddenall32/team/"+request.text.substring(5,8)+"/schedule"); + postMessage("http://daddyleagues.com/ams/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/maddenall32/players?name="+rep+"&position=all&team=all"); + postMessage("http://daddyleagues.com/ams/players?name="+rep+"&position=all&team=all"); this.res.end(); } From 371bfb870b966de0099d3af9a6a4c4a88dc62ec6 Mon Sep 17 00:00:00 2001 From: Kcsmith240 Date: Sat, 14 Jan 2017 21:13:18 -0500 Subject: [PATCH 2/5] Update bot.js --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 5dfee554e..34e9d753f 100644 --- a/bot.js +++ b/bot.js @@ -137,7 +137,7 @@ function respond() { } else if(request.text && botRegexWk.test(request.text)) { this.res.writeHead(200); - postMessage("https://docs.google.com/spreadsheets/d/1kJqQWCq3RKiTrd4f71FFNKr-Y0ppJzjk0fSF0rP6Bto/edit?usp=sharing"); + postMessage("https://www.daddyleagues.com/ams/schedules"); this.res.end(); } else if(request.text && botODB.test(request.text)) { From d62b6dbe0fb0654a68bb60be4e221224f4571d01 Mon Sep 17 00:00:00 2001 From: Kcsmith240 Date: Sat, 14 Jan 2017 21:16:47 -0500 Subject: [PATCH 3/5] Update bot.js --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 34e9d753f..20c0b413f 100644 --- a/bot.js +++ b/bot.js @@ -162,7 +162,7 @@ function respond() { } else if(request.text && botRegexSchedule.test(request.text)) { this.res.writeHead(200); - postMessage("https://docs.google.com/spreadsheets/d/1EORExkB6HNLZhi22mRo2Xmo6Yx90Em2rGNAYlAdjTeI/edit?usp=drive_web"); + postMessage("https://www.daddyleagues.com/ams/schedules"); this.res.end(); } From 8d8fa12ca010a5510cc954f0aef8bf04269d503e Mon Sep 17 00:00:00 2001 From: Kcsmith240 Date: Sat, 14 Jan 2017 21:35:17 -0500 Subject: [PATCH 4/5] Update bot.js --- bot.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bot.js b/bot.js index 20c0b413f..6e0e247fb 100644 --- a/bot.js +++ b/bot.js @@ -8,8 +8,8 @@ function respond() { botRegex = /^\/cool guy/; botRegexDL = /^\/DDL/i;botRegexSalt = /^\/salt/;botRegexRules = /^\/rules/ botRegexAd=/^\/advance/;botRegexGTA = /^\/gta/; botRegexSC = /^\/SDL/i; botODB = /(.*\s+)(.*odb)(\s+.*)/i; botDuck = /^\/duck/; botRegexP = /^\/PDL/i; botRegexTw = /^\/twitch/i; botRegexSb = /^\/sub/; botRegexSh = /^\/shrug/; botRegexWk = /^\/users/; botRegexCC = /^\/cc/; - botRegexSiege = /^\/siege/; botRegexOW = /^\/ratings/; - botRegexSlut = /^\/slut/; botRegexStop = /^\/stop/; + botRegexCheese = /^\/cheese/; botRegexOW = /^\/ratings/; + botRegexSiege = /^\/siege/; botRegexFoh = /^\/foh/; botRegexProp = /^\/prop/;botRegexKys = /^\/kys/; botRegexSlam = /^\/slam/; botRegexBrye = /^\/brye/; botRegexGian = /^\/gian/; botRegexScrotes = /^\/scrotes/; botRegexShaki = /^\/shaki/; botRegexDaf = /^\/dafuq/; botRegexAyy = /^\/ayy/; botRegexSchedule = /^\/schedule/; @@ -23,14 +23,14 @@ function respond() { postMessage(cool()); this.res.end(); } - else if(request.text && botRegexSlut.test(request.text)) { + else if(request.text && botRegexCheese.test(request.text)) { this.res.writeHead(200); - postMessage("https://i.groupme.com/640x364.jpeg.f8a0e216bf7e42ed9a86b3ae23cc2ff1.large"); + postMessage("https://media1.giphy.com/media/26FKSXORxdIT3aut2/200w_d.gif"); this.res.end(); } - else if(request.text && botRegexStop.test(request.text)) { + else if(request.text && botRegexFoh.test(request.text)) { this.res.writeHead(200); - postMessage("Stop appropriating black culture"); + postMessage("https://media0.giphy.com/media/3o6Zt9oH4syvJuyh3i/200_d.gif"); this.res.end(); } else if(request.text && botRegexProp.test(request.text)) { From 66344627a3c18955022e89232684911dd0d111d0 Mon Sep 17 00:00:00 2001 From: Kcsmith240 Date: Tue, 17 Jan 2017 19:46:31 -0500 Subject: [PATCH 5/5] Update bot.js --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 6e0e247fb..253a44cfe 100644 --- a/bot.js +++ b/bot.js @@ -97,7 +97,7 @@ function respond() { } else if(request.text && botRegexRules.test(request.text)) { this.res.writeHead(200); - postMessage("https://docs.google.com/document/d/1hSuEG7oplnx4IX6HGsMOjsWb9TCqC4-F1NLjuBz5PCM/edit"); + postMessage("https://www.daddyleagues.com/ams/rules"); this.res.end(); } else if(request.text && botRegexGTA.test(request.text)) {