lib/socrates/bots/cli_bot.rb in socrates-0.1.3 vs lib/socrates/bots/cli_bot.rb in socrates-0.1.4
- old
+ new
@@ -6,10 +6,10 @@
@dispatcher = Core::Dispatcher.new(adapter: @adapter, state_factory: state_factory)
end
def start
while (input = gets.chomp)
- @dispatcher.dispatch(message: input)
+ @dispatcher.dispatch(input)
end
end
end
end
end