Created
September 5, 2013 08:16
-
-
Save equinox79/6447359 to your computer and use it in GitHub Desktop.
yanchaでhookを追加
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
hook.addHook('onUserMessage', function(hash){ | |
if(hash.text.match(/[a-z]+/)){ | |
console.log(hash.text); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment