mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-10-29 11:44:33 -05:00
- Method `this.runBroadcast()` has been split from `this.canBroadcast()`. It's now the only method handling command-usage and intended as the main API for synchronous commands. Async commands will execute both separately. Note that the `suppressMessage` parameter is now passed to `runBroadcast`. - The semantics of `broadcasting` have been similarly split. `this,broadcastMessage` will be set to a truthy value when `this.canBroadcast` is run. `this,broadcasting` will only be set to `true` once `this.runBroadcast` is executed.