lib/lita/handlers/onewheel_duckduckgo.rb in lita-onewheel-duckduckgo-0.0.3 vs lib/lita/handlers/onewheel_duckduckgo.rb in lita-onewheel-duckduckgo-0.0.4

- old
+ new

@@ -2,9 +2,12 @@ module Lita module Handlers class OnewheelDuckDuckGo < Handler route /^duck\s+(.*)$/, :search, command: true + route /^quack\s+(.*)$/, :search, command: true + route /^ddg\s+(.*)$/, :search, command: true + route /^fuck\s+(.*)$/, :search, command: true def search(response) query = response.matches[0][0] Lita.logger.debug "Querying for #{query}" result = get_result(query)