Last updated
Last updated
You can create own Lib. Now it is possible create lib only with Git .
Official Bots.Business repository available
You can store common code in the library.
See libraries in the Library Store. You can copy any free library and modify it.
For example: code in file libs\myLib.js:
then you can use Lib in any bot's command:
It is possible to capture command with lib.
For example:
user type "Hi"
bot answer "Hello"
Master command "*" - for capture any text from user with lib
You can use all BJS functions in the Libs
Lib can perform web requests. For example: get page from eample.com and send its content to user.
on Bot command:
See