BJS Security
Any user can execute any command
// admin can add 100$ to users's balance by it telegramid
tgID = params
let res = Libs.ResourcesLib.anotherUserRes("money", tgID);
res.add(100)
Bot.sendMessage("Added 100$ for user");
Any user can execute any "SECRET" command
User can run secret command on group chat
Recommendations
Do not share your bot token, BB API Key
Avoid using safe data in protected bot
Do not share your BB Bot ID
Do not use default command names "/onIncome", "/onTransaction" for important commands
Remove /test command
Use completed_commands_count variable
Do not use any non official libs now.
Bad practice
User can change nickname
Use eval method with care
See BB reports
Last updated