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