1 bug was fixed, 1 core lib was upgraded, servers health performed during attack.
Thank you, attacker ๐
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.
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
โ๏ธ 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!
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.
Some services was restored.
๐ข23๐9๐คฎ6๐ฅ2๐ฑ2๐1๐ฅฑ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:
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:
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 0From 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 JSONjsonformatter.org
Best JSON Formatter and JSON Validator: Online JSON Formatter
Online JSON Formatter / Beautifier and JSON Validator will format JSON data, and helps to validate, convert JSON to XML, JSON to CSV. Save and Share JSON
๐ฅฐ5๐3
Do you have any issue with run_after?
Anonymous Poll
19%
It is works ok
17%
I don't know
8%
I don't understand
19%
It is works with delay for several hours
14%
It is works with delay for day or days
22%
It is runned twiced
โค3๐2๐1
New ๐ฅณ
Prop saving for any bot in your account.
User.getProperty & User.setProperty are also available for another bot.
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:
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
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.
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
- bug fix with code saving on Windows
https://help.bots.business/vs-code
#VSCode
๐2
Bots.Business
Once more time. This BJS is NOT working! DO NOT USE IT! Yes, it is working with 10 users, maybe 20. But it 100% is not working with 50 or more users! You will have TimeOut error. var fullBotUsers = Bot.getProperty("wholeUsers") for (var index in fullBotUsers)โฆ
We still have such bad codes.
Props max size limited from 500kb to 100kb
Props max size limited from 500kb to 100kb
Bots.Business
We have DDoS attack.
We have anti DDoS protection now.
Your bots is protected.
Your bots is protected.
๐5โคโ๐ฅ3โค1
โค5๐2๐ฅฐ1