Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typos in README.md #175

Merged
1 commit merged into from
Mar 12, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ We'll dual-publish both `@slack/client` and `slack-client` until at least `2.1.0

* [RTM Client](#rtm-client)
* [Creating an RTM client](#creating-an-rtm-client)
* [Listen to messages](#listen-to-messsages)
* [Listen to messages](#listen-to-messages)
* [Send messages](#send-messages)
* [RTM Client Lifecycle](#rtm-client-lifecycle)
* [Migrating from earlier versions](#migrating-from-earlier-versions)
Expand Down Expand Up @@ -102,11 +102,11 @@ rtm.on(RTM_CLIENT_EVENTS.RTM_CONNECTION_OPENED, function () {

```

### RTM Client Lifecyle
### RTM Client Lifecycle

The RTM client has its own lifecycle events. These reflect the different states the RTM client can be in as it connects to Slack's RTM API.

The full details of the client lifecyle are in the [RTM client events file](/lib/clients/events/client.js)
The full details of the client lifecycle are in the [RTM client events file](/lib/clients/events/client.js)

The most important events are:
- `RTM_CONNECTION_OPENED`: the remote server has acked the socket and sent a `hello` message, the connection is now live and can be used to send messages
Expand Down