Created
November 3, 2013 17:07
-
-
Save ericbutera/7292394 to your computer and use it in GitHub Desktop.
generate redis commands easy like from js console
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
"publish TOIRC "+ JSON.stringify({Type:"raw", To:"", Message:"", Command:"NICK yomama"}).replace(/"/gi, '\\"'); | |
"publish TOIRC "+ JSON.stringify({Type:"privmsg", To:"#moo", Message:"a message", Command:""}).replace(/"/gi, '\\"'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment