lib/lita/handlers/vader.rb in lita-vader-0.1.1 vs lib/lita/handlers/vader.rb in lita-vader-0.1.2
- old
+ new
@@ -1,8 +1,8 @@
module Lita
module Handlers
class Vader < Handler
- route(/who is (.*)'s father\?/, :father, command: true, help: {
+ route(/who is (.*)['’]s father\?/, :father, command: true, help: {
"who is USER's father?" => "Replies back with the suprising truth."
})
def father(response)
child = response.matches[0][0]