Improve broadcast commands:
If a command returns an error message, it is not broadcast. Furthermore, added a parameter to canBroadcast() so that this.broadcasting can be get without reporting the usage of the command in the room (to deal with spammy commands /dexsearch and /roomhelp.)
Improve broadcast commands:
If a command returns an error message, it is not broadcast. Furthermore, added a parameter to canBroadcast() so that this.broadcasting can be get without adding anything to the room (to deal with spammy commands /dexsearch and /roomhelp).
Merge branch 'master' of https://github.com/Slayer95/Pokemon-Showdown