Bots.Business
3.79K subscribers
673 photos
19 videos
27 files
595 links
Download Telegram
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
πŸ‘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.
πŸ‘4❀3πŸ‘Ž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
😎4❀2πŸ‘2πŸ”₯2
DDoS attacks in last 3 days
πŸ‘Ž16πŸ‘7πŸ”₯2
We have DDoS attack.

Protection in progress.
πŸ‘Ž12πŸ‘8❀2😱2
Do we need BB Channel Stories?

https://t.me/botsbus?boost
πŸ‘Ž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 😞
❀3😱3πŸ‘1
@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
❀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
πŸ”₯5
We had night downtime due DDoS attack
πŸ‘Ž12πŸ€ͺ7😱4πŸ‘2
Forwarded from z0x99 πŸ‘¨β€πŸ’»
I don't know who created this but I just shared here.
πŸ‘9πŸ‘Ž7🀣6πŸ‘3πŸ™ˆ3πŸ™1