Class: Lita::Handlers::Hackersays

Inherits:
Handler
  • Object
show all
Defined in:
lib/lita/handlers/hackersays.rb

Instance Method Summary collapse

Instance Method Details

#command(response) ⇒ Object



10
11
12
13
14
# File 'lib/lita/handlers/hackersays.rb', line 10

def command(response)
  response.reply as_text(fetch_quote)
rescue
  response.reply "Sorry, no quotes from me right now. I guess all hackers are actually busy with hacking ;)"
end