lib/socrates/bots/cli_bot.rb in socrates-0.1.0 vs lib/socrates/bots/cli_bot.rb in socrates-0.1.1

- old
+ new

@@ -1,11 +1,10 @@ module Socrates module Bots class CLIBot def initialize(state_factory:) @adapter = ConsoleAdapter.new - @storage = Storage::MemoryStorage.new - @dispatcher = Core::Dispatcher.new(storage: @storage, adapter: @adapter, state_factory: state_factory) + @dispatcher = Core::Dispatcher.new(adapter: @adapter, state_factory: state_factory) end def start # Clear out any remnants from previous runs. @storage.clear(ConsoleAdapter::CLIENT_ID)