Bots.Business - Help
Bots.Business - Help
Welcome
Getting started
Create bot from Google Table
Commands
Scenarios and BJS
Git
Google Analytics tracking
Iterations. How to reduce theys?
Limitations
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
CurrencyConverter
ResourcesLib
Lang
QiwiPayments
BlockIO
Coinbase (CB)
CoinPayments (CP)
CryptoJS
GoogleApp
GoogleSpreadSheet
Webhooks lib
DateTimeFormat Lib
MembershipChecker
Store
BB Point Bot 💎
BlockIOBot
Welcome bot
Help bot
SRB Demo Keyboard Tools
Powered by GitBook

Random

Send random message to user with this lib and get random values!

Example BJS code:

Libs.Random.sendMessage(["hello", "Hi", "Good day!", "Welcome!"]);

Get random integer value beetwen 0 and 10:

Libs.Random.randomInt(0, 10);

Get random float value beetwen 200 and 400

Libs.Random.randomFloat(200, 400);

Libs - Previous
RefferalLib
Next - Libs
CurrencyConverter
Last updated 2 years ago
Contents
Example BJS code:
Get random integer value beetwen 0 and 10:
Get random float value beetwen 200 and 400