Skip to content

Commit

Permalink
Corrected incorrect code example in readme
Browse files Browse the repository at this point in the history
Replaced "channnels" with "channels". This is admittedly a low hanging fruit, but could possibly foil someone at the eleventh hour of a hackathon.
  • Loading branch information
orende committed Oct 17, 2015
1 parent 6a67aa8 commit d45285d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ Send a JSON message directly to the websocket. See RTM documentation for allowed
SlackClient.server.**channels.find([identifier])**
The identifier can be either name or Slack channel ID. See above for examples.

SlackClient.server.**channnels[int].send_message([text])**
SlackClient.server.**channels[int].send_message([text])**
Send message [text] to [int] channel in the channels list.

SlackClient.server.**channnels.find([identifier]).send_message([text])**
SlackClient.server.**channels.find([identifier]).send_message([text])**
Send message [text] to channel [identifier], which can be either channel name or ID. Ex "#general" or "C182391"

0 comments on commit d45285d

Please sign in to comment.