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
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 π
Today you can face Little downtime (or maybe not)
Reason: A new feature testingπ
Reason: A new feature testing
Please open Telegram to view this post
VIEW IN TELEGRAM
π€―2β€1
TeleBotHost
Today you can face Little downtime (or maybe not) Reason: A new feature testing π
Downtime now,
Can take little like 20 minutes
Can take little like 20 minutes
β€2
Works good now sorry for that but everything need a maintanence π
Please open Telegram to view this post
VIEW IN TELEGRAM
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 π
Share data across all your bots with the new Global Class. Perfect for shared configurations, feature flags, and centralized settings.
Build connected bots with shared storage!
Please open Telegram to view this post
VIEW IN TELEGRAM
β€1β‘1π1 1
TeleBotHost
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β¦
A new Env tab is on the way for easy, direct configuration. Work is already 50% done!
Please open Telegram to view this post
VIEW IN TELEGRAM
β€3 1 1
We have updated Ai image genrator bot in bot store there was an issue due to telegram caching system
And follow this tip to make your bot also problem free
And follow this tip to make your bot also problem free
π€©3
β οΈ Important Notice
Be a responsible user.
If you create or share harmful, abusive, or restricted code, we reserve the right to suspend your account.
We normally do not review your saved projects or code.
However, in case of any complaints or serious concerns, we may check related data to ensure safety and take appropriate action.
Be a responsible user.
If you create or share harmful, abusive, or restricted code, we reserve the right to suspend your account.
We normally do not review your saved projects or code.
However, in case of any complaints or serious concerns, we may check related data to ensure safety and take appropriate action.
We've added a small credit to all HTML web app (free plan).
It seems some users who want everything for free without supporting us have a problem with this. At least we don't push ads on bots.
We just added a small credit, and now some users are showing their true colors by complaining, rather than offering support.
By the way for Supporters, See this to customize the credit badge
It seems some users who want everything for free without supporting us have a problem with this. At least we don't push ads on bots.
We just added a small credit, and now some users are showing their true colors by complaining, rather than offering support.
By the way for Supporters, See this to customize the credit badge
β€4 2π1π1
TeleBotHost
We've added a small credit to all HTML web app (free plan). It seems some users who want everything for free without supporting us have a problem with this. At least we don't push ads on bots. We just added a small credit, and now some users are showingβ¦
And not all users are like that we have lot of users who put our web Link in their bots and web
So that change will useful to them too
So that change will useful to them too
π2β€1 1 1
TeleBotHost
We've added a small credit to all HTML web app (free plan). It seems some users who want everything for free without supporting us have a problem with this. At least we don't push ads on bots. We just added a small credit, and now some users are showingβ¦
A user friendly solution is comming (not another badge) ,
That update will keep our credit without distracting users + will add extra safety on your webπ
That update will keep our credit without distracting users + will add extra safety on your web
Please open Telegram to view this post
VIEW IN TELEGRAM
β€3 2π1 1
It will fixed by the mid of the day π
β€2π1π1
TeleBotHost
TeleBotHost Update
We know it's been a little quiet, but weβve been working behind the scenes. Here are the upcoming features dropping soon:
1. ENV support β cleaner and safer configuration for your bots.
2. require() between commands β import functions from another command easily.
3. Small bot statistics on the dashboard β quick insights, super handy.
About require():
Youβll be able to use code like
More updates on the way.
We know it's been a little quiet, but weβve been working behind the scenes. Here are the upcoming features dropping soon:
1. ENV support β cleaner and safer configuration for your bots.
2. require() between commands β import functions from another command easily.
3. Small bot statistics on the dashboard β quick insights, super handy.
About require():
Youβll be able to use code like
const { fn } = require("/otherCommand"); inside your command files to reuse logic without rewriting it.More updates on the way.
β€5
TeleBotHost
3. Small bot statistics on the dashboard β quick insights, super handy.
It's added as requested by users
β€1π1πΏ1
TeleBotHost
2. require() between commands β import functions from another command easily.
Comming today we have tested it
π2β€1
TeleBotHost
require() between commands β import functions from another command easily.
New Feature Added!
You can now split large TBL command files into multiple parts and reuse code across commands β no more rewriting the same logic again and again.
Just use:
This lets you pull functions or utilities from any other command file instantly.
Read More : https://telebothost.com/docs/#require-reuse
You can now split large TBL command files into multiple parts and reuse code across commands β no more rewriting the same logic again and again.
Just use:
const { fn } = require("/otherCommand");This lets you pull functions or utilities from any other command file instantly.
Read More : https://telebothost.com/docs/#require-reuse
π3β€1 1
β‘ Community Support Needed
Our dashboard server is close to expiry. This project isnβt a business β itβs built entirely for users.
If our service helps you, please consider donating so we can renew and upgrade the server for faster performance.
Your support keeps the project alive. β€οΈ
Contact: @onDNDbro or @Soumya_feed_back_bot
It's just a request not force
Our dashboard server is close to expiry. This project isnβt a business β itβs built entirely for users.
If our service helps you, please consider donating so we can renew and upgrade the server for faster performance.
Your support keeps the project alive. β€οΈ
Contact: @onDNDbro or @Soumya_feed_back_bot
It's just a request not force
πΏ6 4β€3 2π€―1
TeleBotHost
β‘ Community Support Needed Our dashboard server is close to expiry. This project isnβt a business β itβs built entirely for users. If our service helps you, please consider donating so we can renew and upgrade the server for faster performance. Your supportβ¦
No support yet π
By the way if anyone want to place their ads on web you can contact us too , for now adding your ads on very cheap price (day based not impression based for now)(not on bots)
By the way if anyone want to place their ads on web you can contact us too , for now adding your ads on very cheap price (day based not impression based for now)(not on bots)
β€4π3
TeleBotHost pinned Β«β‘ Community Support Needed Our dashboard server is close to expiry. This project isnβt a business β itβs built entirely for users. If our service helps you, please consider donating so we can renew and upgrade the server for faster performance. Your supportβ¦Β»
Weβve launched premium plans at super affordable pricing on TeleBotHost:
Premium subscribers get early access to new features, so you can try everything fresh without hesitation, before anyone else!
Check pricing: https://telebothost.com/pricing/
Contact @onDNDbro for purchasing
Payment methods: any crypto, INR(βΉ), pkr
Please open Telegram to view this post
VIEW IN TELEGRAM
β€3π₯°1