cb.onBroadcastStop(func)¶
Receive a notification when broadcast is stopped. The func
argument should be a function that receives 1 argument itself, user.
Example Usage¶
cb.onBroadcastStop(user => {
cb.sendNotice(user['user'] + ' stopped broadcasting!');
});
Example Output¶
Notice: testuser stopped broadcasting!