Coding: BJS
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
Last modified 1yr ago