Bots Home
|
Create an App
Let's talk about something
Author:
shecoxxalot
Description
Source Code
Launch Bot
Current Users
Created by:
Shecoxxalot
/* Credits: s1ever, sheCoxXaLot */ cb.settings_choices = [ { name: 'topic', type: 'str', minLength: 1, maxLength: 255, label: "Set room subject:", defaultValue:"#follow sheCoxXaLot room" }, { name: 'welcomeMsg', type: 'str', defaultValue: 'Hey $user$, Welcome to my room!', required: true, label: 'Welcome Message (you can use $user$ to put users\'s name)' }, { name: 'backgroundColor', type: 'str', defaultValue: '#FF69B4', required: true, label: 'Background color, default: #FF69B4 (Hot Pink)' }, { name: 'foregroundColor', type: 'str', defaultValue: '#FFFFFF', required: true, label: 'Foreground color, default: #FFFFFF (White)' } ]; cb.changeRoomSubject(cb.settings.topic); cb.onEnter(({ user }) => { const { welcomeMsg, backgroundColor, foregroundColor } = cb.settings; let msg = welcomeMsg.replace(/\$user\$/g, user); cb.sendNotice(msg, user, backgroundColor, foregroundColor, 'bold'); });
© Copyright Freesexcam 2011- 2024. All Rights Reserved.