Skip to content

Comments

Otter puns#6

Open
monster wants to merge 5 commits intotangentialism:masterfrom
monster:otter-puns
Open

Otter puns#6
monster wants to merge 5 commits intotangentialism:masterfrom
monster:otter-puns

Conversation

@monster
Copy link
Contributor

@monster monster commented Feb 21, 2014

No description provided.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this listener, we otter use the same form as the "good morning" listener on line 138:

robot.respond /pun me/i, (msg) ->
  msg.reply msg.random otterpuns

That pretty much reads "look for the phrase 'otterbot, pun me', and reply with a random entry from the 'otterpuns' list".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants