lib/sinbotra/bot.rb in sinbotra-0.1.2 vs lib/sinbotra/bot.rb in sinbotra-0.1.3
- old
+ new
@@ -8,10 +8,11 @@
module Sinbotra
class Bot
class << self
def handle(provider, entry)
Sinbotra::Config.logger.debug("ENTRY DEBUG:\n" + entry.inspect) if ENV["DEBUG"]
- perform_async(provider, entry)
+ #perform_async(provider, entry)
+ new.perform(provider, entry)
end
def add_handler(provider, handler)
@handlers ||= {}
@handlers[provider.to_sym] = handler