We have updated few things:
1. updated our Webhook class
2. Added Webapp class
3. Updated res class
Tip: Webhook and Webapp class are just for genarate the URLs, and res is for sending response to client
If any error occurs just fell free to tell us
1. updated our Webhook class
2. Added Webapp class
3. Updated res class
Tip: Webhook and Webapp class are just for genarate the URLs, and res is for sending response to client
If any error occurs just fell free to tell us
π3π1
TeleBotHost
Added Webapp class
Let's make APIs, websites together π
Please open Telegram to view this post
VIEW IN TELEGRAM
π2π₯°1
Should we also add Login/Signup using phone number on our website?
If your number is on WhatsAppπ , the OTP will be sent there β
Otherwise, you can login/signup with your email βοΈ
What do you think β good idea?π€
If your number is on WhatsApp
Otherwise, you can login/signup with your email βοΈ
What do you think β good idea?
Please open Telegram to view this post
VIEW IN TELEGRAM
β€4π€―2π1
TeleBotHost
Upcoming fixes and current Bugs
π Update: Async Error Handling Fixed!
Weβve just rolled out an important fix for the Bot class async behavior π οΈ
Now all Bot methods like
Also, message-related methods such as
β More reliable
β Easier debugging
β Cleaner flow
Read more here:
https://telebothost.com/docs/#async-error
Weβve just rolled out an important fix for the Bot class async behavior π οΈ
Now all Bot methods like
Bot.run() and Bot.runCommand() will throw errors properly β no more silent failures! Also, message-related methods such as
Bot.sendMessage() will now log errors directly in your bot error logs β More reliable
β Easier debugging
β Cleaner flow
Read more here:
https://telebothost.com/docs/#async-error
β€239π53 4 3π€©1
Weβve fixed a lot of issues β now you can run any production-ready bot smoothly! π
But honestly, itβs a bit sad to see that weβre not getting much support π
Weβre offering a completely ad-free and free-to-use platform for developers to express their bot ideas β without charging even a single penny.
Other platforms filled with ads get users sharing their codes publicly,
but for us, only a few (2β3) users are sharing their work.
If you truly believe in open and free bot development,
please help us by sharing and supporting this mission β€οΈ
But honestly, itβs a bit sad to see that weβre not getting much support π
Weβre offering a completely ad-free and free-to-use platform for developers to express their bot ideas β without charging even a single penny.
Other platforms filled with ads get users sharing their codes publicly,
but for us, only a few (2β3) users are sharing their work.
If you truly believe in open and free bot development,
please help us by sharing and supporting this mission β€οΈ
A request to all members
Please donβt just copy code from other platforms and paste it into TBL. It often wonβt work that way. We have proper docs and many AI tools to help you learn β use them!
If you use GPT or any AI, read the code carefully and understand how it works. If something fails, ask clearly and learn from it.
Donβt be a copy-paster, be a real coder.
Please donβt just copy code from other platforms and paste it into TBL. It often wonβt work that way. We have proper docs and many AI tools to help you learn β use them!
If you use GPT or any AI, read the code carefully and understand how it works. If something fails, ask clearly and learn from it.
Donβt be a copy-paster, be a real coder.
We need to fix it 1-2 day need to fix it , or any pro devoloper just can contribute to made better
Here the Libs
Weβve introduced a brand-new sleep() method in TBL!
Now your bot can take a tiny nap during execution β up to 10 seconds β which helps prevent rate-limit issues and smooths out rapid actions.
Usage:
This update also includes 2 new objects
- owner
- plan
Learn more about sleep
Now your bot can take a tiny nap during execution β up to 10 seconds β which helps prevent rate-limit issues and smooths out rapid actions.
Usage:
sleep(1000) // pauses for 1s
This update also includes 2 new objects
- owner
- plan
Learn more about sleep
β€4 1
Soon weβll be launching our Premium Plans with super affordable and satisfying pricing!
We will offer 3 fixed plans:
β’ $1
β’ $3
β’ $5
And honestly, if you all support us, weβll go crazy rolling out even more powerful features!
We will offer 3 fixed plans:
β’ $1
β’ $3
β’ $5
And honestly, if you all support us, weβll go crazy rolling out even more powerful features!
TeleBotHost
Soon weβll be launching our Premium Plans with super affordable and satisfying pricing! We will offer 3 fixed plans: β’ $1 β’ $3 β’ $5 And honestly, if you all support us, weβll go crazy rolling out even more powerful features!
I think these plans are truly affordable. Some platforms charge 5Γ more while offering almost the same features as our free plan β and they still impose a strict command-run limit.
But here, we offer no limits on how much time Command runs.
But here, we offer no limits on how much time Command runs.
β€1
Interested in contributing to TBL and proving your skills as a real supporter and developer?
Create your own TBL Library and share your creativity with the community.
β’ Build a unique or useful TBL Lib
β’ Submit a Pull Request at: https://github.com/telebothost/tbl-libs
β’ If we like your library, we will definitely add it to the official collection.
Show your best work and help grow the TBL ecosystem.
Tip: Before submitting, always test your library code.
How: Simply paste your library code inside the
Create your own TBL Library and share your creativity with the community.
β’ Build a unique or useful TBL Lib
β’ Submit a Pull Request at: https://github.com/telebothost/tbl-libs
β’ If we like your library, we will definitely add it to the official collection.
Show your best work and help grow the TBL ecosystem.
Tip: Before submitting, always test your library code.
How: Simply paste your library code inside the
@ command, comment out the module export section, and test your functions or variables directly using the names you defined β not Libs.xx.yy.β€2
If you face any errors β even small issues β please share the full error details with us. We want to make everything as bug-free as possible!
β€2
TeleBotHost
Interested in contributing to TBL and proving your skills as a real supporter and developer? Create your own TBL Library and share your creativity with the community. β’ Build a unique or useful TBL Lib β’ Submit a Pull Request at: https://github.com/telebothost/tblβ¦
https://github.com/FlashComOfficial/tbl-libs/blob/main/Lib-Docs/TranslateLib.md
We got one Library by @FlashComAssistant
What do you think is it usefull π
We got one Library by @FlashComAssistant
What do you think is it usefull π
β€1π1
Does everyone think we should bring back a global prop that can be accessed by all bots, like
We actually had it before, but it was patched out in a later update.
Now weβre considering adding it back π
Global.get()?We actually had it before, but it was patched out in a later update.
Now weβre considering adding it back π
β€6π1 1
TeleBotHost
Does everyone think we should bring back a global prop that can be accessed by all bots, like Global.get()? We actually had it before, but it was patched out in a later update. Now weβre considering adding it back π
Weβre also thinking about adding an environment (env) system β something that can be configured directly from an βEnvβ tab.
So yeah, we might need this feature too π
Env β idea by @DevAryanRathod
Itβll be especially useful when transferring bots to another account β your secrets will stay hidden, and others can easily add their own.
So yeah, we might need this feature too π
Env β idea by @DevAryanRathod
Itβll be especially useful when transferring bots to another account β your secrets will stay hidden, and others can easily add their own.
β€4 2
Forwarded from TBL Codes
π‘TBL Tip 3: When accessing multiple properties, use Promise.all() to run them in parallel β it's much faster β‘οΈ
β Do this (parallel) :
It will take 1-3ms even 10+ properties
β Donβt do this (sequential):
That version runs each one after the previous finishes,
making your bot slower β³ especially with many keys.
β Do this (parallel) :
let start = Date.now()
let results = await Promise.all([
Bot.get("user_1"),
Bot.get("user_2"),
Bot.get("user_3"),
Bot.get("user_4"),
Bot.get("user_5")
])
Bot.inspect({
took: Date.now() - start + "ms",
results
})
It will take 1-3ms even 10+ properties
β Donβt do this (sequential):
let a = await Bot.get("user_1")
let b = await Bot.get("user_2")
let c = await Bot.get("user_3")
let d = await Bot.get("user_4")
let e = await Bot.get("user_5")That version runs each one after the previous finishes,
making your bot slower β³ especially with many keys.
Please open Telegram to view this post
VIEW IN TELEGRAM
β€3π1
In just 1.5 months, weβve reached 1.3k+ bots with 600+ active running!
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯10β€5π1π1