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",
"description": "ctdo raumgirl",
"version": "0.0.5",
"version": "0.0.6",
"author": "henne@ctdo.de",
"license": "MIT",

View File

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