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
..
COMMANDS.md Improvements to command broadcast API 2016-04-02 15:46:13 -05:00
datasearch.js Improvements to command broadcast API 2016-04-02 15:46:13 -05:00
hangman.js Improvements to command broadcast API 2016-04-02 15:46:13 -05:00
info.js Improvements to command broadcast API 2016-04-02 15:46:13 -05:00
jeopardy.js Improvements to command broadcast API 2016-04-02 15:46:13 -05:00
mafia-data.js Mafia: make the different cop variations show up in the pregame 2016-03-24 20:13:31 +01:00
mafia.js Mafia: add HTML escaping 2016-03-30 13:37:31 +02:00
poll.js Improvements to command broadcast API 2016-04-02 15:46:13 -05:00
scavengers.js Improvements to command broadcast API 2016-04-02 15:46:13 -05:00
tcgtabletop.js Improvements to command broadcast API 2016-04-02 15:46:13 -05:00
thehappyplace.js Improvements to command broadcast API 2016-04-02 15:46:13 -05:00
thestudio.js Improvements to command broadcast API 2016-04-02 15:46:13 -05:00
trivia.js Improvements to command broadcast API 2016-04-02 15:46:13 -05:00
wifi.js Improvements to command broadcast API 2016-04-02 15:46:13 -05:00