Created
September 12, 2010 04:24
-
-
Save fczuardi/575841 to your computer and use it in GitHub Desktop.
jerkenstein blame plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.plugin = { | |
'name': 'blame' | |
,'pattern': /^\?blame (.+)$/ | |
,'description': 'Find out who was the responsible for something.' | |
,'example': '?blame Who let the dogs out?' | |
,'action': function(message) { | |
message.say(message.user + ': Do you want to know ' + message.match_data[1] + ' Of course it was Paul Lloyd!') | |
} | |
,'url': 'http://gist.github.com/575841' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment