Bots.Business
3.79K subscribers
673 photos
19 videos
27 files
595 links
Download Telegram
We have DDoS attack.
๐Ÿคฃ7๐Ÿ˜ฑ3
1 bug was fixed, 1 core lib was upgraded, servers health performed during attack.

Thank you, attacker ๐Ÿ’œ
๐Ÿคฃ12โค2๐Ÿ‘1๐Ÿ–•1
What's happened?

Dear users, customers. We've had a lot of good changes lately. The project is getting better and evolving.

- We have an integration with AI.
- Added VS code plugin

Users still love the free plan with ads. It really offers great opportunities. We have increased the limit to 500,000 iterations per month. It became possible only thanks to advertisers.

Therefore, we have taken the blocking of advertisements very seriously.

This fact, and the fact that a new Captains policy has been introduced, has likely led to dissatisfaction among some users.

Apparently, there was a cooperation of individual users and an attack on the BB servers was formed.

We are investigating this incident and restoring functionality. We make every effort to protect the interests of all users.

Dear clients.
We have Community. And the Community needs strong leaders. We will now call them Captains.

If you are an active user or client, namely:
- you spend more than 200,000 iterations per month
- either you buy a cloud and do it often
- buy advertising
- sell something near the project

please nominate the Captain. Your opinion is especially valuable.
โค8๐Ÿ‘1
We have attack again
โ›”๏ธ ONCE AGAIN !!!
DO NOT SHARE YOUR BOT TOKEN.

If you make any request to any external url with token please note: your bot token can be stolen!

It is not safe!
๐Ÿ”ฅ3๐Ÿฅฐ2
We still under attack.

Some services was restored.
๐Ÿ˜ข23๐Ÿ‘Ž9๐Ÿคฎ6๐Ÿ”ฅ2๐Ÿ˜ฑ2๐Ÿ‘1๐Ÿฅฑ1
All Clouds have +2 days
โค11๐Ÿคฎ3๐ŸŒš3๐Ÿ’ฉ2
Today timeout errors - fixed
๐Ÿ‘4๐Ÿ˜2โค1
#json #jsonerror #content
What Is JSON and How to Handle an โ€œUnexpected Tokenโ€ Error

JSON, which is an acronym for JavaScript Object Notation, is one of the most popular data formats used for transmitting data. It is a lightweight format and consists of name-value pairs. Values can be strings, arrays, or any other data that can be serialized.

It is JSON example:

{
"name": "animals",
"animals": [
"Dog",
"Cat",
"Mouse",
"Pig",
"Bear"
],
"hobbies": {
"football": false,
"reading": true
}
}

Unexpected Token < in JSON at Position 0
From time to time when working with JSON data, you might stumble into errors regarding JSON formatting. For instance, if you try to parse a malformed JSON with the JSON.parse() function or use the .json() method on the fetch object, it can result in a JavaScript exception being thrown. But donโ€™t worry, itโ€™s not the end of the world and we can handle it. There can be different causes for this happening so letโ€™s see what we can do about it.

If you have a file with JSON data, one of the first things to do is to ensure that the data is formatted correctly. There are a few sites that can help you with that. These formatters not only will check if your JSON is formatted correctly, but they can also fix some of the errors, beautify it, or make it compact.

https://jsonformatter.org/
https://jsonformatter.curiousconcept.com/
https://codebeautify.org/jsonvalidator

So if you have:
JSON.parse(content)

and error - try to inspect your JSON with:

throw new Error("My JSON: " + content)  // we just throw error with JSON content
JSON.parse(content)

Go to Error Tab > copy past text after "My JSON: " > go to http://jsonviewer.stack.hu or another and check your JSON
๐Ÿฅฐ5๐Ÿ‘3
BB AI bot now can help in the group chats.

You can install this bot from the Store.
๐Ÿ‘9
New ๐Ÿฅณ
Prop saving for any bot in your account.

Bot.setProperty({ name: "MYPROP", value: 10, bot_id: OTHER_BOT_ID})

let myprop = Bot.getProperty({ name: "MYPROP", bot_id: OTHER_BOT_ID})

User.getProperty & User.setProperty are also available for another bot.
๐Ÿ‘6โค2
We have new error:

You have much more background tasks rigth now. Limit is: 5. All active tasks - REMOVED. Commands for run_after:  and others...

If you have such error you need to reduce your background tasks.
Try to remove not needed Bot.run with run_after or try to make run_after with more bigger delay

Please note: run_after must be more then 60 - 120. With less value it is not stable.

Run after must be more stable now
๐Ÿ‘4
Bots.Business
We have new error: You have much more background tasks rigth now. Limit is: 5. All active tasks - REMOVED. Commands for run_after: and others... If you have such error you need to reduce your background tasks. Try to remove not needed Bot.run with run_afterโ€ฆ
We can have only 5 active tasks in background in one moment per bot.

Yes, of course you can have 100 and more future background tasks in total.
But if you have more then 5 tasks for running in one moment you will have this error.
VS-code extension - new version.
- bug fix with code saving on Windows

https://help.bots.business/vs-code
#VSCode
๐Ÿ‘2
Bots.Business
We have DDoS attack.
We have anti DDoS protection now.

Your bots is protected.
๐Ÿ‘5โคโ€๐Ÿ”ฅ3โค1
Status.Bots.business not working now because it is detected as attacker after test DDoS

Fixed
โค5๐Ÿ˜2๐Ÿฅฐ1
Downtime in progress
โคโ€๐Ÿ”ฅ1๐Ÿ˜ข1
Uptime
โคโ€๐Ÿ”ฅ1