github/hubot — pull request #296 by tombell (2012-05-30 17:44:19+00:00)
Title: Superify the help output

You should now document `robot.respond` commands with hubot at the beginning. This will get replaced in the help output so the correct name of the running robot is displayed.

### Example

```coffeescript

# hubot good morning - responds with a good morning greeting
# poopin - responds with a poopin'

module.exports = (robot) ->

robot.respond /good morning/i, (msg) ->
msg.reply 'Good morning'

robot.hear /poopin/i, (msg) ->
msg.send 'Poopin'
```

Run the hubot instance with `bin/hubot -n poopbot` and doing `poopbot help` would respond with the following.

```
...
poopbot good morning - responds with a good morning greeting
poopin - responds with a poopin'
...
```

This solves the whaa whaa about using `hubot` in the help header comments. Just remember the comments should be `hubot` to document respond commands. :)