           if err
             robot.logger.error err
           else
-            message = (alert.toString() for alert in data).join('\n\n')
+            message =
+              if data then (alert.toString() for alert in data).join('\n\n')
+              else 'There are no alerts at the moment'
             res.send message
 
   robot.respond /invasions/, (res) ->

          if err
            robot.logger.error err
          else
            message = (deal.toString() for deal in data).join('\n\n')
            res.send message

  robot.respond /news/, (res) ->

          if err
            robot.logger.error err
          else
            message =
              if data then (invasion.toString() for invasion in data).join('\n\n')
              else 'There are no invasions at the moment'
            res.send message

  robot.respond /darvo/, (res) ->
