Added ls
This commit is contained in:
parent
d5e3ea215d
commit
13a16dc3cb
|
@ -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",
|
||||
|
||||
|
|
|
@ -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.");
|
||||
})
|
||||
});
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue