Use Shellwords to parse command arguments
Use encodeURIComponent where appropriate
Add simple dice expression parsing to roll