lib/boty/slack/chat.rb in boty-0.0.17.1 vs lib/boty/slack/chat.rb in boty-0.1.0

- old
+ new

@@ -13,11 +13,11 @@ text: message } URL.get parameterize(defaults.merge parameters) end - def post_im(user, message) - channel = im.open user + def post_im(user_id, message) + channel = im.open user_id post_message message, channel: channel.id end end end end