Bots.Business
3.79K subscribers
673 photos
19 videos
27 files
595 links
Download Telegram
We had auto fix for RefLib deprecated code.

But users again copy deprecated code like:
let reflink=Libs.ReferralLib.currentUser.getRefLink(""+bot.name+"","Bot");
let lib = Libs.ReferralLib
Bot.sendMessage("*Here Is Your Ref Link : "+reflink+"*")


use this instead:
let reflink = RefLib.getLink();
Api.sendMessage({ text: "*Here Is Your Ref Link : "+reflink+"*" })
👍7🤔1
Bots.Business
We have 52 DDoS attacks today. Downtime: 2 minutes Apdex has some degradation.
We have 423 DDoS attacks In last 3 days!
Result in 3 days:
- 5-15 min downtime only (2 minutes tracked)
- 0.88 - 0.91 Apdex (Good - very Good)

Total attacks due last 31 days:
788 attacks!
😱2
We continue development SmartBot architecture on demo bot.

It is:
- scheme for bot talk tree
- bot scheme (just json)
- bjs for /menu as example

With smartBot bot become very simple for editing and supporting:
- logic and content is really isolated
- simple bot can be development with JSON only
- extra logic will be in BJS like before
- Multi Lang architecture - FIRST
7👎2
Downtime in progress
👎10👍5🤔1😱1
We have DDoS attack
👎13🙈1
We found a bug that allowed a successful attack after 500 attempts.

Any service can be put down - it's a matter of time and money.

One way or another, the error was found and partially fixed. We continue to work and improve our service and protection.
👎6👍42🔥2
Please don't use fake email for BB account.

Password recovery is not possible for fake emails.
👍5👏3👎1
very good Apdex in last 2 days
👍10👎4
NEW:

Short names for Get/Set properties now instead long "getProperty / setProperty"

👍 Old methods like User.getProperty - still working!
But it is more easy use User.getProp now

// for bot
Bot.setProp(name, value);
let x = Bot.getProp(name);

// for user
User.setProp(name, value);
let y = User.getProp(name);

// user_id, bot_id and etc can be passed also
👍41👎1🔥1
Fixed:
- Error Stack Trace
- correct Error Line!
- Commands @ and @@ - supported
- error have target command Name also
- libs errors also supported

Known issues:
- Core Libs are not supported (only error no trace) but CoreLibs have good error descriptions.
👍43👎2👏2
We had night DDoS attack
👎13🔥3😱3🙈3🤔2🥰1
@BBDemoTaskBot - you can try this bot now.

It is currently under active development, but looks to be 80-90% complete.
You can test it and give your feedback or errors.

#taskBot
2👍1🥰1
Why @BBDemoTask bot so slowly? 😱

Because it beforeAll command - "@" have approx 1400 lines of code now.

It is huge count!

But don't worry! We will move this magic code to several Libs later!

Why we use "@" command?

Because it is very easy for Lib development. After full testing we will move this code to Libs!

Today updates:
- button text can be translated
- smart commands have aliases (needs to translate alias or aliases not command name!)
- we have translation instruction now
😎42👍2🔥2