Bots.Business - Help
Search…
⌃K
Welcome
Getting started
Create bot from Google Table
Commands
Coding: BJS
Bot functions
Message broadcasting and editing
User functions
Properties
Always running commands
Error command: "!"
Variables
Lists
Api functions
BB Admin functions
Admin Panel
Send HTTP request
Web App
Caching
Inline Bot
BJS Security
Good coding practices
Git
Google Analytics tracking
Iterations. How to reduce theys?
Limitations
Cloud
Reports
Deep Linking - pass any params on Bot starting
How to link chat account with BB account?
BB Inspection
Protected bot
How to...
Libs
What it is - Libs?
Libs development
RefferalLib
Random
Cooldown Lib
CurrencyConverter
ResourcesLib
Lang
QiwiPayments
BlockIO
Coinbase (CB)
CoinPayments (CP)
CryptoJS
CurrencyQuote
GoogleApp
GoogleTableSync
Guard
Webhooks lib
DateTimeFormat Lib
MembershipChecker
Store
BB Point Bot 💎
BlockIOBot
Welcome bot
Help bot
SRB Demo Keyboard Tools
Powered By GitBook

Coding: BJS

What are these scenarios in the command?

Command can have some scenarios with BJS code.
BJS - it is "Bot Java Script" code.
It is Java Script!
Example. Calculating 2+2 and send result to the chat:
Bot.sendMessage(2+2);
On command executing, its scenarios are executed sequentially and isolated.
​
In BJS, you can use all the usual JS functions except setTimeout, setInterval
​
​
Previous
Auto Retry (AR)
Next
Bot functions
Last modified 1yr ago
Copy link