lib/socrates/bots/slack_bot.rb in socrates-0.1.3 vs lib/socrates/bots/slack_bot.rb in socrates-0.1.4

- old
+ new

@@ -22,10 +22,10 @@ # puts "> #{data}" # When first connecting, Slack may resend the last message. Ignore it... next if data.reply_to.present? - @dispatcher.dispatch(message: data.text, context: data) + @dispatcher.dispatch(data.text, context: data) end @slack_client.start! end end