Bots Home
|
Create an App
status test
Author:
maintest
Description
Source Code
Launch Bot
Current Users
Created by:
Maintest
// cb test bot cb.onBroadcastStart(user => { cb.chatNotice(user['user'] + ' started broadcasting event!'); }); cb.onBroadcastStop(user => { cb.chatNotice(user['user'] + ' stopped broadcasting event!'); }); setTimeout(function(){roomdata();}, 30000); function roomdata(){ cb.getRoomOwnerData(ownerData => { if (ownerData['success']) { cb.chatNotice(cb.room_slug + ' room status is: ' + ownerData['data']['room_status']) }else{ cb.chatNotice('error: ' + ownerData['errorMessage']) } }); setTimeout(function(){roomdata();}, 30000); }
© Copyright Chaturbate 2011- 2024. All Rights Reserved.