Skip to content

Commit

Permalink
Improve docs for scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sklise committed Sep 12, 2012
1 parent 02a3175 commit 6eab961
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/bests.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# good <category> - Get all of the <thing>s in <category>
#
# Author:
# Steve Klise
# stevenklise

#### Bests
# Based on karma.coffee from hubot-scripts.
Expand Down
7 changes: 6 additions & 1 deletion scripts/manners.coffee
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Description:

# Basic manners to make Shep more pleasant to talk to.
#
# Commands:
# hi|hello|hey shep - teach Shep to say hi
# shep thank you - Make Shep say you're welcome
#
# Author:
# stevenklise

module.exports = (robot) ->
robot.hear /^(hi|hello|hey)( shep)?/i, (msg) ->
msg.send "Hi #{msg.message.user.name}"
Expand Down

0 comments on commit 6eab961

Please sign in to comment.