Added spamfilter and fixed a bug

tested for days and it works well, but it's affected by the bot on and off commands just in case.
Update command-parser.js
Update command-parser.js
Update command-parser.js
fix crash with PMs
forgot something for spam filter
Update command-parser.js
Merge pull request #105 from Dubstepper/patch-7

Added spamfilter and fixed a bug