Skip to content

Commit c5f9c5c

Browse files
authored
Merge pull request #478 from joakimnordling/fix-recieved-typo
Fix typo; recieved -> received
2 parents 5386895 + 0d33aa0 commit c5f9c5c

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ link callbacks to their corresponding events. When an event occurs
126126
this client executes your callback while passing along any
127127
information it receives. We also give you the ability to call our web client from inside your callbacks.
128128

129-
In our example below, we watch for a [message event][message-event] that contains "Hello" and if its recieved, we call the `say_hello()` function. We then issue a call to the web client to post back to the channel saying "Hi" to the user.
129+
In our example below, we watch for a [message event][message-event] that contains "Hello" and if its received, we call the `say_hello()` function. We then issue a call to the web client to post back to the channel saying "Hi" to the user.
130130

131131
```python
132132
import os

slack/rtm/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ async def _read_messages(self):
365365
"""Process messages received on the WebSocket connection."""
366366
while not self._stopped and self._websocket is not None:
367367
try:
368-
# Wait for a message to be recieved, but timeout after a second so that
368+
# Wait for a message to be received, but timeout after a second so that
369369
# we can check if the socket has been closed, or if self._stopped is
370370
# True
371371
message = await self._websocket.receive(timeout=1)

tutorial/03-responding-to-slack-events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def onboarding_message(**payload):
102102
# Here we'll link the update_emoji callback to the 'reaction_added' event.
103103
@slack.RTMClient.run_on(event="reaction_added")
104104
def update_emoji(**payload):
105-
"""Update onboarding welcome message after recieving a "reaction_added"
105+
"""Update onboarding welcome message after receiving a "reaction_added"
106106
event from Slack. Update timestamp for welcome message as well.
107107
"""
108108
data = payload["data"]
@@ -131,7 +131,7 @@ def update_emoji(**payload):
131131
# Here we'll link the update_pin callback to the 'reaction_added' event.
132132
@slack.RTMClient.run_on(event="pin_added")
133133
def update_pin(**payload):
134-
"""Update onboarding welcome message after recieving a "pin_added"
134+
"""Update onboarding welcome message after receiving a "pin_added"
135135
event from Slack. Update timestamp for welcome message as well.
136136
"""
137137
data = payload["data"]

tutorial/PythOnBoardingBot/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def onboarding_message(**payload):
5959
# Here we'll link the update_emoji callback to the 'reaction_added' event.
6060
@slack.RTMClient.run_on(event="reaction_added")
6161
def update_emoji(**payload):
62-
"""Update the onboarding welcome message after recieving a "reaction_added"
62+
"""Update the onboarding welcome message after receiving a "reaction_added"
6363
event from Slack. Update timestamp for welcome message as well.
6464
"""
6565
data = payload["data"]
@@ -91,7 +91,7 @@ def update_emoji(**payload):
9191
# Here we'll link the update_pin callback to the 'reaction_added' event.
9292
@slack.RTMClient.run_on(event="pin_added")
9393
def update_pin(**payload):
94-
"""Update the onboarding welcome message after recieving a "pin_added"
94+
"""Update the onboarding welcome message after receiving a "pin_added"
9595
event from Slack. Update timestamp for welcome message as well.
9696
"""
9797
data = payload["data"]

tutorial/PythOnBoardingBot/async_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ async def onboarding_message(**payload):
6464
# Here we'll link the update_emoji callback to the 'reaction_added' event.
6565
@slack.RTMClient.run_on(event="reaction_added")
6666
async def update_emoji(**payload):
67-
"""Update the onboarding welcome message after recieving a "reaction_added"
67+
"""Update the onboarding welcome message after receiving a "reaction_added"
6868
event from Slack. Update timestamp for welcome message as well.
6969
"""
7070
data = payload["data"]
@@ -93,7 +93,7 @@ async def update_emoji(**payload):
9393
# Here we'll link the update_pin callback to the 'reaction_added' event.
9494
@slack.RTMClient.run_on(event="pin_added")
9595
async def update_pin(**payload):
96-
"""Update the onboarding welcome message after recieving a "pin_added"
96+
"""Update the onboarding welcome message after receiving a "pin_added"
9797
event from Slack. Update timestamp for welcome message as well.
9898
"""
9999
data = payload["data"]

0 commit comments

Comments
 (0)