Add lita-uptimerobot to your Lita instance's Gemfile:
api_key(String) – Your master API key from your uptimerobot.com dashboard.
Lita.configure do |config| config.handlers.uptimerobot.api_key= ENV["UPTIME_API_KEY"] end
Commands are called in the with the
uptime prefix what can be optionally with the
upt abbreviation. There's no need to prefix the command with your bot name.
uptime mysite (displays uptime and status for a monitor that matches) upt all (displays uptime and statuses for all configured monitors) upt example.com 15d (displays status and uptime for example.com where uptime is averaged over 15 days)