Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
Comment tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete Nicholls committed Oct 31, 2011
1 parent c1293df commit 01fcb94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/scripts/wordnik.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# pronounce me <word> - Links to a pronunciation of a word.

module.exports = (robot) ->
# Definition
# Word definition
robot.respond /define( me)? (.*)/i, (msg) ->
word = msg.match[2]

Expand All @@ -29,7 +29,8 @@ module.exports = (robot) ->
reply += " - #{def.text}\n"

msg.send reply


# Pronunciation
robot.respond /(pronounce|enunciate)( me)? (.*)/i, (msg) ->
word = msg.match[3]

Expand Down

0 comments on commit 01fcb94

Please sign in to comment.