lib/chatterbot/dsl.rb in chatterbot-0.2.1 vs lib/chatterbot/dsl.rb in chatterbot-0.2.2
- old
+ new
@@ -70,11 +70,11 @@
end
end
#
# search twitter for the specified terms
- def search(query, &block)
- @bot.search(query, &block)
+ def search(query, opts = {}, &block)
+ @bot.search(query, opts, &block)
end
#
# handle replies to the bot
def replies(&block)