Class: Lita::Handlers::Trumpifier
- Inherits:
-
Handler
- Object
- Handler
- Lita::Handlers::Trumpifier
- Defined in:
- lib/lita/handlers/trumpifier.rb
Overview
- Lita::Handlers::Trumpifier
Instance Method Summary collapse
Instance Method Details
#trumpify(response) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/lita/handlers/trumpifier.rb', line 11 def trumpify(response) phrase = response.matches[0][0] response.reply("FAKE #{phrase}") sleep 1 response.reply("SAD #{phrase}") sleep 1 response.reply("That #{phrase} was so tiny") sleep 1 response.reply("My #{phrase} is going to be HUGE") sleep 1 response.reply("My #{phrase} will ALWAYS have your back") end |