Skip to content

Commit

Permalink
Fix a typo in the README (scrapinghub#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
romainrichard authored and lins05 committed Nov 10, 2017
1 parent 670a9b1 commit a438acd
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 @@ -179,15 +179,15 @@ Besides specifying `DEFAULT_REPLY` in `slackbot_settings.py`, you can also decor

```python
@default_reply
def my_default_handler(messsage):
def my_default_handler(message):
message.reply('...')
```

Here is another variant of the decorator:

```python
@default_reply(r'hello.*)')
def my_default_handler(messsage):
def my_default_handler(message):
message.reply('...')
```

Expand Down

0 comments on commit a438acd

Please sign in to comment.