diff options
Diffstat (limited to 'scripts/status.coffee')
-rw-r--r-- | scripts/status.coffee | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/status.coffee b/scripts/status.coffee index a0012b1..1b1ef9a 100644 --- a/scripts/status.coffee +++ b/scripts/status.coffee @@ -10,7 +10,7 @@ # Author: # frdmn <j@frd.mn> -statusUrl = "http://status.get-popcorn.com/index.json" +statusUrl = "http://status.popcorntime.io/index.json" require("sugar") @@ -52,6 +52,9 @@ module.exports = (robot) -> if incident.status != "completed" && incident.status != "resolved" # Add to activeIncidents Array activeIncidents.push "* #{incident.name}: #{incident.status} - #{incident.incident_updates[0].body[0...50]}... (#{incident.shortlink})" + else + # Append info to statusLine + statusLine += " - Everything works as expected!" # Send output msg.send statusLine |