For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Last updated