Skip to content

Commit

Permalink
Update cli.rb
Browse files Browse the repository at this point in the history
Updated dm to use #create_direct_message
  • Loading branch information
autodidacticon committed Dec 10, 2013
1 parent 20f5f8c commit 0a03e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/t/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def dm(user, message)
else
user.strip_ats
end
direct_message = client.direct_message_create(user, message)
direct_message = client.create_direct_message(user, message)
say "Direct Message sent from @#{@rcfile.active_profile[0]} to @#{direct_message.recipient.screen_name}."
end
map %w(d m) => :dm
Expand Down

0 comments on commit 0a03e7b

Please sign in to comment.