Files
pokemon-showdown/chat-plugins
Ivo Julca 10bb83bf3c Improvements to command broadcast API
- 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.
2016-04-02 15:46:13 -05:00
..
2016-04-02 15:46:13 -05:00
2016-03-30 13:37:31 +02:00
2016-04-02 15:46:13 -05:00
2016-04-02 15:46:13 -05:00