@BotsBusinessAdminBot have "Balance" button now.
β οΈ Please note: It is just testing!
All balances will be removed after testing!
Revenue Sharing development in progress! π
β οΈ Please note: It is just testing!
All balances will be removed after testing!
Revenue Sharing development in progress! π
π6β€3π₯°1
New Lib - TopBoardLib
TopBoardLib is a lib designed for managing a leader board in a chatbot. It provides functionality for adding, updating, retrieving, and resetting user scores, as well as managing multiple leader boards.
Command /bonus
command /top:
Full help:
https://help.bots.business/libs/topboardlib
it is based on
https://t.me/botsbus/1949
#topList #topBoard
TopBoardLib is a lib designed for managing a leader board in a chatbot. It provides functionality for adding, updating, retrieving, and resetting user scores, as well as managing multiple leader boards.
Command /bonus
// we just add +5 to user's Score
let userScore = User.getProperty("score") || 0;
userScore = userScore + 5;
// Adding this points to a user
TopBoardLib.addScore({
value: 5
// boardName: "Game" // you can pass boar name
});
command /top:
// Retrieving the leaderboard
let leaderboard = TopBoardLib.getBoard();
let leaderboardText = "The leaderboard is currently empty.";
// Check if the leaderboard is not empty
if (leaderboard.length > 0) {
// Create a string to represent the leaderboard
leaderboardText = "π Leaderboard π\n\n";
leaderboard.forEach((entry, index) => {
leaderboardText += `${index + 1}. ${entry.tgId}: ${entry.value} points\n`;
});
}
// Send the leaderboard
Api.sendMessage({ text: leaderboardText });
Full help:
https://help.bots.business/libs/topboardlib
it is based on
https://t.me/botsbus/1949
#topList #topBoard
help.bots.business
TopBoardLib | Bots.Business - Help
π4β€2π2π₯1
You can try BB AI on Chat GPT:
https://chat.openai.com/g/g-mW7CZYp2i-bb-ai-help
it can help you with coding
https://chat.openai.com/g/g-mW7CZYp2i-bb-ai-help
it can help you with coding
ChatGPT
ChatGPT - BB Ai Help
ChatGPT helps you get answers, find inspiration, and be more productive.
RefLib: TopList - fixed
RefLib use TopBoardLib now by default.
So Top Ref List is fixed.
What i need to do?
Do you already use RefLib.getTopList() ? And sorting is not working?
It is working now!
else - use RefLib.getTopList() - please see help
By default we have 10 members on TopList. You can pass topBoardMaxCount param with your count:
Please test our Demo Ref bot by link:
https://t.me/DemoReferalTrackingBot?start=user1860
You can try Top List here
RefLib use TopBoardLib now by default.
So Top Ref List is fixed.
What i need to do?
Do you already use RefLib.getTopList() ? And sorting is not working?
It is working now!
else - use RefLib.getTopList() - please see help
By default we have 10 members on TopList. You can pass topBoardMaxCount param with your count:
...
RefLib.track({
onTouchOwnLink: onTouchOwnLink,
onAlreadyAttracted: onAlreadyAttracted,
onAttracted: onAttracted,
// you can use "", "r" and etc for prefix
// if you change it - you need to pass same linkPrefix for
// RefLib.getLink() also!
// Prefix "user" is used by default
// linkPrefix: "user",
// you can pass debug for external debug info
//debug: true,
// we can use List or TopBoardLib for Top List
// by default TopBoardLib is used
// useList: false
// if useList - false (TopBoardLib is used)
// you can pass max board count
// it is 10 by default
topBoardMaxCount: 5
});
Please test our Demo Ref bot by link:
https://t.me/DemoReferalTrackingBot?start=user1860
You can try Top List here
π7π₯°2π»2β€1
Bots.Business
RefLib: TopList - fixed RefLib use TopBoardLib now by default. So Top Ref List is fixed. What i need to do? Do you already use RefLib.getTopList() ? And sorting is not working? It is working now! else - use RefLib.getTopList() - please see help By defaultβ¦
Update Regarding TopBoard and RefLib:
We regret to inform you that a bug has been identified in the TopBoard system associated with RefLib. The issue pertains to:
To address this, we are planning an update to the Lib Code in next hours. Unfortunately, this necessitates the removal of all existing data on TopBoard for RefLib. We understand the inconvenience this may cause and sincerely apologize for this incident. Rest assured, we are taking immediate steps to rectify the situation and prevent future occurrences.
UPDATE:
RefLib updated. Bug is fixed
We regret to inform you that a bug has been identified in the TopBoard system associated with RefLib. The issue pertains to:
Bug Description:
There is an incorrect assignment of the user count for Ref Link owners to users who were attracted by them.
To address this, we are planning an update to the Lib Code in next hours. Unfortunately, this necessitates the removal of all existing data on TopBoard for RefLib. We understand the inconvenience this may cause and sincerely apologize for this incident. Rest assured, we are taking immediate steps to rectify the situation and prevent future occurrences.
UPDATE:
RefLib updated. Bug is fixed
π5π2π€1π¦1π1
You can clear your track data now in @DemoReferalTrackingBot (only for attracted user not for Ref Owner) and retest ref link again
Please rerun bot with /start again for this command.
You can use this link:
https://t.me/DemoReferalTrackingBot?start=user1860
Please rerun bot with /start again for this command.
You can use this link:
https://t.me/DemoReferalTrackingBot?start=user1860
Bots.Business
Update Regarding TopBoard and RefLib: We regret to inform you that a bug has been identified in the TopBoard system associated with RefLib. The issue pertains to: Bug Description: There is an incorrect assignment of the user count for Ref Link owners to usersβ¦
Clouds updated.
BB General something later
BB General something later
π4π3
YouTube
BB Digest: January 2024
Bots.Business
January Digest
2024
1. Tiny.Cloud - 9$
Meet new Tiny Cloud!
9$ / month
200K iterations
It is like Cloud.Hobby:
- no Broadcasting (no Bot.runAll)
- no Auto Retry
2. RefLib: TopList - fixed
RefLib use TopBoardLib now by default.
What i needβ¦
January Digest
2024
1. Tiny.Cloud - 9$
Meet new Tiny Cloud!
9$ / month
200K iterations
It is like Cloud.Hobby:
- no Broadcasting (no Bot.runAll)
- no Auto Retry
2. RefLib: TopList - fixed
RefLib use TopBoardLib now by default.
What i needβ¦
π1.17Kπ₯°279π97π₯63β€38π€£17
Bots.Business
User.getProperty("score")
Some of users confused here with TopBoardLib.
We have prop "score" here.
But with TopBoardLib you can:
- use any numeric value (integer or float, positive or negative)
- use prop like
- use res value like
- use user's input like
(don't forget that user must input numeric only)
- use message index like
(I don't know why we need this but it is possible)
- income webhook data
- any numeric data!
after this your code will be:
We have prop "score" here.
But with TopBoardLib you can:
- use any numeric value (integer or float, positive or negative)
- use prop like
let value = User.getProperty("score")- use res value like
let value = Libs.ResourcesLib.userRes("balance").value- use user's input like
let value = parseFloat(message)(don't forget that user must input numeric only)
- use message index like
let value = message.id(I don't know why we need this but it is possible)
- income webhook data
- any numeric data!
after this your code will be:
let value = ... // you already have it
// Adding this points to a user
TopBoardLib.addScore({
value: value
// boardName: "YOU BOARD NAME" // you can pass boar name
});
π€6π€£4π2π2π±1
β Do you also want to learn "Bot Making" ? But can't find anything to learn it.
π₯³ Don't worry, I've brought a full "Telegram Bot Making Course" for free π from where you can learn bot making from scratch to advance
π Here's the 1st lecture for today :- https://youtu.be/CNhZg7MZBvg
π₯³ Don't worry, I've brought a full "Telegram Bot Making Course" for free π from where you can learn bot making from scratch to advance
π Here's the 1st lecture for today :- https://youtu.be/CNhZg7MZBvg
YouTube
Understanding what is a Telegram Bot and its functionalities | Bot Making Course Lecture - 1
Understanding what is a Telegram Bot and its functionalities | Bot Making Course Lecture - 1
Hello my coder friend, I've launched this amazing Bot Making Course on Telegram bot creation & this is the 1st lecture of this course in which I've coveted whatβ¦
Hello my coder friend, I've launched this amazing Bot Making Course on Telegram bot creation & this is the 1st lecture of this course in which I've coveted whatβ¦
β€10π4π4π₯1
Bots.Business successfully integrates its advertising platform with AdHub.plus, providing you with the ability to manage your advertising campaigns. With our service, you can easily place ads, adjust parameters, and monitor statistics.
We are continuing the integration process. The broadcasting feature is currently active, and we plan to add the instant broadcasting option soon.
Our plans:
β Active Broadcasting via AdHub.Plus
βοΈ Instant Broadcasting via AdHub.Plus
βοΈ Statistics & Tracking
βοΈ Revenue Share for bot owners
Progress: 25%
There is much work ahead. We are actively working on improving the service and expanding its functionality in partnership with AdHub.plus. Try our service today, register.
We need your feedback!
We are continuing the integration process. The broadcasting feature is currently active, and we plan to add the instant broadcasting option soon.
In collaboration with AdHub.plus, we also plan to share a portion of the advertising revenue with bot owners. This will significantly enhance the effectiveness of your ads and attract more active bot owners.
Our plans:
β Active Broadcasting via AdHub.Plus
βοΈ Instant Broadcasting via AdHub.Plus
βοΈ Statistics & Tracking
βοΈ Revenue Share for bot owners
Progress: 25%
There is much work ahead. We are actively working on improving the service and expanding its functionality in partnership with AdHub.plus. Try our service today, register.
We need your feedback!
π₯19π€£7π3β€1π1
https://telegra.ph/Your-own-database--API-03-15
This topic requires expert level.
You can use hasura.io for your own database + making API gateway. With Hasura, you can store any data and perform any search operations.
This topic requires expert level.
You can use hasura.io for your own database + making API gateway. With Hasura, you can store any data and perform any search operations.
Telegraph
Your own database + API
Level: expert
π₯7β€4π3
The Problem of Poor Variable Naming Solved with... Brainfuck!
For too long, our users have suffered from non-descriptive, uninformative, and confusing variable names in their code. Our analysis showed that over 60% of all bugs and code comprehension issues stem from this common problem.
But our engineers have found an elegant solution to this programmer's headache - transitioning to the Brainfuck programming language! Brainfuck does not use variables at all. The code operates solely on an array of bytes and a data pointer. No more issues with choosing names!
Take, for example, this line of code:
And here's its Brainfuck equivalent:
Isn't that sheer poetry?
π We have already launched an automatic converter that will translate all existing code on our platform into Brainfuck
Hooray, no more aaaaaaa or data123!
"At first, it looked daunting," shares one of our users, "but after a week of working with Brainfuck, I can't imagine how I wrote code using variables."
Embrace the future of clean, concise, and elegant programming without variables at Bots.Business! Brainfuck will change your life for the better.
For too long, our users have suffered from non-descriptive, uninformative, and confusing variable names in their code. Our analysis showed that over 60% of all bugs and code comprehension issues stem from this common problem.
But our engineers have found an elegant solution to this programmer's headache - transitioning to the Brainfuck programming language! Brainfuck does not use variables at all. The code operates solely on an array of bytes and a data pointer. No more issues with choosing names!
Take, for example, this line of code:
var balace = User.getProp("money")And here's its Brainfuck equivalent:
++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>++.>+.+++++++..+++.>++.<<++++++++++++++.>.+++.------.--------.>+.>.
Isn't that sheer poetry?
π We have already launched an automatic converter that will translate all existing code on our platform into Brainfuck
Hooray, no more aaaaaaa or data123!
We understand not everyone may be ready for such a progressive change. So if you want to keep your code as-is, simply create an empty bot named "i will use good variable names" in your account.
"At first, it looked daunting," shares one of our users, "but after a week of working with Brainfuck, I can't imagine how I wrote code using variables."
Embrace the future of clean, concise, and elegant programming without variables at Bots.Business! Brainfuck will change your life for the better.
π10π€£10π±7π2π€1