Bots.Business - Help
  • Welcome
  • Getting started
  • Create bot from Google Table
  • App
    • Reset or Update Your Password
  • Commands
    • Answer
    • Aliases
    • Keyboard
    • Groups
    • Wait for answer
    • Auto Retry (AR)
  • Coding: BJS
    • Variables
    • Bot functions
    • Message broadcasting and editing
    • User functions
    • Properties
    • Always running commands
    • Error command: "!"
    • Lists
      • Migration from properties to list
    • Api functions
    • BB Admin functions
    • Admin Panel
    • Send HTTP request
    • Web App
    • Caching
    • Inline Bot
    • BJS Security
    • Good coding practices
    • Top errors
  • Git
    • Import bot from Git repository
    • Export bot to Git repository
    • Repository structure
    • File: bot.json
    • Automatic importing on Git push
  • 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
  • VS Code
  • How to...
  • Smart Bot
    • Overview
    • Lang File
    • SmartBot
    • SmartTasker
    • Amount Dialog
  • Libs
    • What it is - Libs?
    • Libs development
    • RefferalLib
    • ResourcesLib
    • Random
    • MembershipChecker (MCL)
    • Cooldown Lib
    • CurrencyConverter
    • Lang
    • TopBoardLib
    • QiwiPayments
    • Coinbase (CB)
    • CoinPayments (CP)
    • OxaPay
    • CryptoJS
    • CurrencyQuote
    • GoogleApp
    • GoogleTableSync
    • Guard
    • Webhooks lib
    • DateTimeFormat Lib
  • Store
    • BB Point Bot
    • Welcome bot
    • Help bot
    • SRB Demo Keyboard Tools
Powered by GitBook
On this page
  • How to execute command with any text from user? (Master command)
  • Command's fields
  • How to create and edit commands?
  • Commands importing

Was this helpful?

Commands

What it is "bot command"?

PreviousReset or Update Your PasswordNextAnswer

Last updated 3 months ago

Was this helpful?

Command - it is text from user. Bot can sent answer for command or do something. Usually command start with "/", e.g. /hello. But it is not always required.

/start and /START - it is not same commands. Command is case sensitive

How to execute command with any text from user? (Master command)

Just use * in command name.

Command's fields

Command can have:

Field

Description

Example

command

use for command call

"/start", "/run". For any text use "*"

case sensitive

help

command's description

"Welcome to RentBot. See /help or /order now"

answer

text answer

"Hello. You need /register before continue"

aliases

use for alternative command call

"/welcome, /hello, ?, help"

keyboard

send keyboard to user on command call

"order, about"

scenarios

BJS code for execution

2+2

group

command allowed only for this user's group

guests, clients

need_reply

command wait for answer from user. Can be true, false or blank. If true BJS code execute after users'answer

true, false

auto_retry

command can be runs with interval in secs

600 - repeated once at 10 minutes

How to create and edit commands?

You can edit command directly from application.

Commands importing

This is an ideal option: everything is quite simple. Go to Main menu > File > Make a copy. You will need a separate sheet for the commands that will contain the commands. Then you can add commands in rows and do the CSV import from application.

See

Make all commands with

Also you can copy Template table from into your own table.

more
Google Table.
http://bit.ly/bb_table_template