NEW:
Short names for Get/Set properties now instead long "getProperty / setProperty"
π Old methods like
But it is more easy use
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
π4β€1π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.
- 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.
π4β€3π2π2
@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
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
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
π4β€2π2π₯2
Telegram
Bots.Business
Boost this channel to help it unlock additional features.
π6π4β€3π€3
@BBDemoTaskBot
New:
- /clear command for data reset. You can retest bot again
- withdrawal - working now (It is just demo. Admin must process transactions manually: it is common case)
- withdrawals channel - @BBTaskLog (it can be public or only for admin)
- bug fixing
This is still slowly bot. Command "@" have approx 1500 lines of code.
It will be more quickly after Lib migrations!
In progress:
- Help articles
- Lib(s) migration
- Bot publishing in BB Store
Done:
- bot (v1) - DONE β
- lib codes
P.S.
Because we have /clear command - it is not possible make real rewards with BBP in this bot.
It is demo bot not real Task Bot and data resetting important for debugging here.
Please don't ask about rewards π
New:
- /clear command for data reset. You can retest bot again
- withdrawal - working now (It is just demo. Admin must process transactions manually: it is common case)
- withdrawals channel - @BBTaskLog (it can be public or only for admin)
- bug fixing
This is still slowly bot. Command "@" have approx 1500 lines of code.
It will be more quickly after Lib migrations!
In progress:
- Help articles
- Lib(s) migration
- Bot publishing in BB Store
Done:
- bot (v1) - DONE β
- lib codes
P.S.
Because we have /clear command - it is not possible make real rewards with BBP in this bot.
It is demo bot not real Task Bot and data resetting important for debugging here.
Please don't ask about rewards π
β€3π±3π1
Bots.Business
@BBDemoTaskBot New: - /clear command for data reset. You can retest bot again - withdrawal - working now (It is just demo. Admin must process transactions manually: it is common case) - withdrawals channel - @BBTaskLog (it can be public or only for admin)β¦
@BBDemoTaskBot - updated and become more quickly!
Code from "@" moved to libs.
We had approx 1500 lines of codes here. And now only 300 (much more comments)
Test bot speed now: @BBDemoTaskBot!
Code from "@" moved to libs.
We had approx 1500 lines of codes here. And now only 300 (much more comments)
Test bot speed now: @BBDemoTaskBot!
π3
@BBDemoTaskBot - available in the BB Store
GitHub
https://github.com/bots-business/BBDemoTaskBot
Benefits
- Very high coding level
- New SmartBot architecture
- SmartTasker is used
SmartBot Architecture
- Multi-language - bot can be translated into any language with only one file
(ChatGPT can also translate it!)
- Logic is isolated from content
- Logic becomes simpler!
Task System
- Core Tasks (bot joining, referral) and Paid Tasks
- Task rewarding only after the correct answer
- Based on URL-visiting task, but it can be any task because we have a validation poll
Withdraw
- Simple withdraw system by user request
- Admin can accept or reject requests in the channel
- Powerful amount checking with SmartAmountDialog
Miro Bot Map
https://miro.com/app/board/uXjVNMBw3Eg=/
How to Use This Bot?
1. Install it from the Store!
2. Change the setup/lng-en command (you can also add a new language file)
3. Change constants in @-commands.
4. Change Paid&Core Tasks in @-commands.
5. Run /setup
#SmartBot #DemoTaskBot
GitHub
https://github.com/bots-business/BBDemoTaskBot
Benefits
- Very high coding level
- New SmartBot architecture
- SmartTasker is used
SmartBot Architecture
- Multi-language - bot can be translated into any language with only one file
(ChatGPT can also translate it!)
- Logic is isolated from content
- Logic becomes simpler!
Task System
- Core Tasks (bot joining, referral) and Paid Tasks
- Task rewarding only after the correct answer
- Based on URL-visiting task, but it can be any task because we have a validation poll
Withdraw
- Simple withdraw system by user request
- Admin can accept or reject requests in the channel
- Powerful amount checking with SmartAmountDialog
Miro Bot Map
https://miro.com/app/board/uXjVNMBw3Eg=/
How to Use This Bot?
1. Install it from the Store!
2. Change the setup/lng-en command (you can also add a new language file)
3. Change constants in @-commands.
4. Change Paid&Core Tasks in @-commands.
5. Run /setup
#SmartBot #DemoTaskBot
β€4π4
SmartBot is a new era in bot development.
And that's why:
- the entire content part of the bot can be separated into language files. Moreover, this can (and should) be done at the initial stage of development.
- even one language file gives very great benefits: to change some lines you donβt need to go through commands - you just edit the language file
- the use of SmartBot principles allows you to simplify the logic. She's really getting smaller! This makes development easier!
- you can make simple bots simply based on language files!
We focus on this architecture.
New help articles is available now!
- Overview
- Lang Files
- SmartBot
- SmartTasker
- AmountDialog
#smartBot
And that's why:
- the entire content part of the bot can be separated into language files. Moreover, this can (and should) be done at the initial stage of development.
- even one language file gives very great benefits: to change some lines you donβt need to go through commands - you just edit the language file
- the use of SmartBot principles allows you to simplify the logic. She's really getting smaller! This makes development easier!
- you can make simple bots simply based on language files!
We focus on this architecture.
New help articles is available now!
- Overview
- Lang Files
- SmartBot
- SmartTasker
- AmountDialog
#smartBot
π₯5