Skip to content

Commit

Permalink
Change slash_commands to slash_command
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinr authored Jul 17, 2017
1 parent 1176f78 commit 2c1df06
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 @@ -111,7 +111,7 @@ slack.on('event name', [... 'event name',] callback)
slack.on('/test', message => { })

// handle all slash commands
slack.on('slash_commands', message => { })
slack.on('slash_command', message => { })

// handle the outgoing webhooks trigger word "googlebot"
slack.on('googlebot', message => { })
Expand Down Expand Up @@ -219,4 +219,4 @@ let message = {
}

ws.send( JSON.stringify(message) )
```
```

0 comments on commit 2c1df06

Please sign in to comment.