Created
September 12, 2010 15:04
-
-
Save fczuardi/576171 to your computer and use it in GitHub Desktop.
jerkenstein upper plugin
This file contains hidden or 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': 'upper' | |
| ,'pattern': /^\?upper (.+)$/ | |
| ,'description': 'Uppercase a message.' | |
| ,'example': '?upper consequences will never be the same.' | |
| ,'action': function(message) { | |
| message.say(message.match_data[1].toUpperCase()) | |
| } | |
| ,'url': 'http://gist.github.com/576171' | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment