lib/socrates/bots/slack_bot.rb in socrates-0.1.1 vs lib/socrates/bots/slack_bot.rb in socrates-0.1.2
- old
+ new
@@ -11,10 +11,10 @@
raise "Missing ENV['SLACK_API_TOKEN']!" unless config.token
end
@slack_client = Slack::RealTime::Client.new
- @adapter = SlackAdapter.new(@slack_client)
+ @adapter = Adapters::SlackAdapter.new(@slack_client)
@dispatcher = Core::Dispatcher.new(adapter: @adapter, state_factory: state_factory)
end
def start
@slack_client.on :message do |data|