Guangcong Luo
9b72c9d486
Make sure command replies show up in correct room
2013-05-23 21:05:03 -07:00
Guangcong Luo
0c0019f010
Rename broadcastable to canBroadcast for consistency
2013-05-23 19:32:34 -07:00
Guangcong Luo
0f87f8e59d
canTalk now handles all chat filtering
2013-05-23 19:31:21 -07:00
Guangcong Luo
e73e3f14e5
Move access denied message to this.can
2013-05-23 19:18:15 -07:00
Guangcong Luo
87005eff94
Faster broadcast cooldown implementation
...
This one uses an early return instead of a flag to suppress the
broadcast.
2013-05-23 19:10:01 -07:00
Guangcong Luo
dfcdd3234c
Cooldown for broadcastable commands
2013-05-23 19:05:46 -07:00
Guangcong Luo
08a00d64b1
Refactor chat commands
...
chat-commands.js is no more, it's been split into command-parser.js,
commands.js, and config/commands.js.
There's also a new API for commands which should be much easier to
use.
2013-05-23 05:25:33 -07:00