Commands
What it is "bot command"?
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 sensitiveJust use
*
in command name.
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 |
You can edit command directly from application.

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.
Last modified 2mo ago