This commit is contained in:
Tim Windelschmidt 2016-06-30 18:15:30 +02:00
parent d5e3ea215d
commit 13a16dc3cb
2 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "hubot-raumgirl-new", "name": "hubot-raumgirl-new",
"description": "ctdo raumgirl", "description": "ctdo raumgirl",
"version": "0.0.5", "version": "0.0.6",
"author": "henne@ctdo.de", "author": "henne@ctdo.de",
"license": "MIT", "license": "MIT",

View File

@ -103,8 +103,8 @@ module.exports = function(robot) {
} }
} }
}); });
// new stuff // status
robot.respond(/status$/i, function(r) { robot.respond(/(status|ls)$/i, function(r) {
console.log("status"); console.log("status");
robot.http("http://status.ctdo.de/api/simple/v2") robot.http("http://status.ctdo.de/api/simple/v2")
.header('Accept', 'application/json') .header('Accept', 'application/json')
@ -115,5 +115,4 @@ module.exports = function(robot) {
r.reply("Ich erkenne niemanden im Treff."); r.reply("Ich erkenne niemanden im Treff.");
}) })
}); });
} }