FlashCom - TBL Codes / Bots Backup
11 subscribers
6 photos
1 file
15 links
This channel helps you to create bots, learn to create bots and to accuire TBL codes.
Discover special giveaways, exclusive free offers given by this channel.

Create your first bot using
https://telebothost.com
Download Telegram
🀝 Welcome to FlashCom Tbl Codes / Bots!

βœ… Step-by-step tutorials – Learn TBL (Telegram Bot Language) the easy way
βœ… Ready-to-use TBL/TJS bot codes – Copy, paste, and deploy instantly
βœ… Live bot examples – See working bots in action
βœ… Tips & updates –Stay ahead with the latest features from TeleBotHost


πŸ†“ Get Free TBL Bot Codes Template at ZadoSource

Why TBL ❓
TBL uses JavaScript-like syntax – if you know JS, you already know TBL! Write bots with less code and no server setup.

🌐 Start hosting your first telegram bot today at Telebot Host

⚠️ Note: We are not affiliated with TeleBotHost.

πŸ’¬ Learn, build, and grow your bot making skills!
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ“Œ Group Moderation TBH Code ( V1.0 ) πŸ“Œ βœ…

If TBH has tik it is tested & working perfectly.

πŸ“œ Description:
Automatically moderates group messages including paragraph by checking for banned words using API. If a violation is detected, it deletes the message, warns the user, and notifies the admins. Currently it can delete message and cannot go further.

Permission : Needs delete message right in group to the below code bot.

πŸš€ Command: *

⏳ Wait for answer: ❌ Off

πŸ›  TBH Code:
if (!msg || !msg.text) return;

if (chat.type === "private") return;
let savedAdmins = Bot.get("admin_ids") || [];
let defaultAdmins = [your-admin_id_1, your_admin_id_2];
let adminIds = [...new Set([...savedAdmins, ...defaultAdmins])];
if (adminIds.includes(user.id)) return;

function maskWord(word) {
if (!word) return "";
let len = word.length;
if (len <= 2) return "*".repeat(len);
return word[0] + "*".repeat(len - 2) + word[len - 1];
}

try {
let response = await HTTP.post({
url: "https://flashcomapi.alwaysdata.net/api/text-moderate",
body: { text: msg.text },
headers: { "Content-Type": "application/json" }
});

let data = response.data;

if (data && data.detected) {
await Api.deleteMessage({
chat_id: chat.id,
message_id: msg.message_id
});

let username = user.username ? "@" + user.username : user.first_name;

Api.sendMessage({
chat_id: chat.id,
text: `⚠️ <a href="tg://user?id=${user.id}">${username}</a>, your message was removed because it contains banned words.`,
parse_mode: "HTML"
});

let details = `🚨 Moderation Alert\n\nπŸ‘€ User: ${username} (${user.id})\nπŸ“ Matched: ${data.matched_terms?.map(maskWord).join(", ") || "None"}\nπŸ“ Original: ${data.original_text || msg.text}\nπŸ“Š Severity: ${data.severity_level || "N/A"} (${data.severity_score || 0})\nℹ️ Summary: ${data.summary || "N/A"}`;

for (let id of adminIds) {
Api.sendMessage({
chat_id: id,
text: details
});
}
}
} catch (err) {
Api.sendMessage({
chat_id: chat.id,
text: "⚠️ An error occurred while processing moderation."
});
}


How to set ?
β€” Set your telegram id to receive notification on bot if any user sends any text
β€” After that make sure that id account must start the bot to receive notification

What it does ?
β€” Deletes the message and alert the user

⚑️ Credits: @FlashComAssistant
⚑️ API Credits: FlashCom API

#TBHCode βœ…
πŸ“Œ URL Shortner TBH Code πŸ“Œ βœ…

If TBH has tik it is tested & working perfectly.

πŸ“œ Description:
Instantly converts long URLs into short, shareable links using four providers β€” is.gd, da.gd, ulvis.net, and tny.im. It features smart provider fallback, automatic retry on failure, and safe URL validation for reliable, secure, and fast link shortening.


πŸš€ Command: /shortenurl

⏳ Wait for answer: βœ… On

πŸ“œ Answer : Send me the long url to shorten it

πŸ›  TBH Code:
if (!message || !message.startsWith("http")) {
Bot.sendMessage("Please send a valid URL starting with http:// or https://");
return;
}

Api.sendChatAction({
chat_id: chat.id,
action: "typing"
});

try {
let response = await HTTP.post({
url: "https://flashcomapi.alwaysdata.net/api/url-shortner",
body: {
url: message,
provider: "auto"
},
headers: {
"Content-Type": "application/json"
}
});

if (response.ok && response.data.success) {
let data = response.data;

let resultMessage = `βœ… *Url Shortened Success*\n\n`;

resultMessage += `πŸ”— *Short URL:*\n\`${data.shorten_url}\`\n\n`;
resultMessage += `🌐 *Original URL:*\n\`${message}\`\n\n`;
resultMessage += `🏷 *Provider:* ${data.provider}\n`;
resultMessage += `πŸ•’ *Timestamp:* ${data.timestamp}\n\n`;

if (data.summary) {
resultMessage += `πŸ“Š *Summary*\n`;
resultMessage += `β€’ Total providers checked: ${data.summary.total_providers_checked}\n`;
resultMessage += `β€’ Successful provider: ${data.summary.successful_provider}\n`;
resultMessage += `β€’ Total failures: ${data.summary.total_failures}\n`;
resultMessage += `β€’ Final status: ${data.summary.final_status}\n\n`;
}

if (data.disclaimer) {
resultMessage += `⚠️ *Disclaimer:* ${data.disclaimer}`;
}

Bot.sendMessage(resultMessage, { parse_mode: "Markdown" });

} else {
// Handle API error response
let errorData = response.data;
let errorMessage = `❌ *Failed to short url*\n\n`;

if (errorData.error) {
errorMessage += `*Error:* ${errorData.error}\n\n`;
}

if (errorData.retry_after) {
errorMessage += `⏰ *Retry after:* ${errorData.retry_after} seconds\n\n`;
}

if (errorData.summary) {
errorMessage += `πŸ“Š *Summary:*\n`;
errorMessage += `β€’ Total providers checked: ${errorData.summary.total_providers_checked}\n`;
errorMessage += `β€’ Final status: ${errorData.summary.final_status}\n`;
}

Bot.sendMessage(errorMessage, { parse_mode: "Markdown" });
}
} catch (error) {
Bot.sendMessage(
`❌ *Api request failed*\n\n` +
`*Network Error:* ${error.message || "Please try again later"}\n\n` +
`πŸ”§ *Troubleshooting:*\n` +
`β€’ Check your internet connection\n` +
`β€’ Verify the URL format\n` +
`β€’ Try again in a moment`,
{ parse_mode: "Markdown" }
);
}


Features :
1. πŸ”— 4 URL Shortening Providers – is.gd, da.gd, ulvis.net, and tny.im supported.
2. ⚑️ Auto Provider Fallback – Instantly switches if one provider fails.
3. πŸ” Smart Retry System – Retries failed providers up to 2 times automatically.
4. πŸ›‘ Safe URL Validation – Blocks unsafe or local URLs.
5. 🧠 Detailed Logs – Shows provider status, attempts, and response time.
6. πŸš€ Fast, Simple & No API Key Needed

What it does ?
β€” Shortens long url

⚑️ Credits: @FlashComAssistant
⚑️ API Credits: FlashCom API

#TBHCode βœ…
Broadcast Tbh - TelebotHost V1.0.zip
11.8 KB
πŸ“’ New Release: Broadcast TBH Bot Code

Hey developers! πŸ’»
Introducing Broadcast Bot Tbh β€” a simple, fast Telegram bot to broadcast up to 1K users, send formatted messages, and track performance, all handled in the background ⚑️

You can send broadcasts now on your telebothost.com bots now!

✨ Features

- Send with rich formatting tools

- View ongoing broadcasts

- Track completion results

- Easy setup & subscriber registration

βš™οΈ Limitations

⏱️ 20 broadcasts/day

πŸ” 30 requests/5 min per user

🌐 Note:
Currently it uses BotBroad Api so please review their policies too

πŸ“˜ Setup Tips
Unzip Read the README & Credits before use.
Configure /setup manually and to learn how to get broadcast api read how to and keep your bot token & API key private.

Create your first bot now at :
🌍 telebothost.com
πŸš€ Custom Website to Android Converter (TBL Code)

πŸ€– Try the Demo Bot: @ApkifyBot

πŸ’» Get bot directly or view on github β€” ApkifyBot converts any HTTPS website into a beautiful Android APK.

Get This Bot Instantly:
➑️ Go to @ApkifyBot
➑️ Run /send command
➑️ Follow instructions to get this bot directly to your TeleBot Host account

Or

πŸ“¦ TBL Source Code:
πŸ‘‰ https://github.com/FlashComOfficial/apkify-telegram-bot

🧠 Before You Start:
1. πŸ“˜ README.md – Overview & features
2. βš™οΈ how to setup.md – Complete setup guide
3. Configure required fields in @ (see guide)

🎬 Guide Videos:
1. Creating Telegram bot & hosting on TeleBotHost
2. Setup & run this bot on TeleBot Host

πŸ›  Admin Commands:
See admin commands TBL/how to.md for updates and edits.

🌐 Host your Custom Web to Apk Converter Telegram Bot on: https://telebothost.com

#Web2Apk #TelebotHost #ApkifyBot #TBL #OpenSource
πŸŽ‰ GET ADVANCE YOUTUBE DOWNLOADER BOT! πŸŽ‰

To get this bot:
1. Open @AdvanceYoutubeDownloaderTblBot
2. Run /send command
3. Follow instructions
4. Get bot directly to your telebothost.com account

🌟 Features:
β€’ Video with Audio (Complete videos)
β€’ Video Only (Highest quality videos)
β€’ Audio Only (M4A, Opus formats)
β€’ Multiple quality options (144p to 4K when available)
β€’ Smart pagination system
β€’ Thumbnail previews
β€’ Inline button navigation
β€’ Fast API processing

πŸ€– Demo: @AdvanceYoutubeDownloaderTblBot

#YouTubeDownloader #TelegramBot #VideoDownload #TBLCode #FreeCode
🎡 Lyrics Finder Bot Code TBL

πŸ“œ Description: A Telegram bot for instant lyrics search. Users can find lyrics for any song by sending the song name and artist.

πŸ’‘ How to Use:
β€’ Send a song name and artist, e.g., "Shape of You Ed Sheeran"
β€’ Or just send the song title
β€’ The bot will search and display full lyrics
β€’ Works with inline buttons for multiple search results

⬇️ View/Download Using Github :
https://github.com/FlashComOfficial/lyrics-finder-telegram-bot

⚑ Commands:
β€’ Read Readme.md for instructions.

πŸŽ– Credits: @FlashComTbl
🐞 Error Report: @FlashComSupportChat
πŸ“’ Official Channel: @FlashComOfficial
πŸ“© Dispose Mail Telegram Bot - TBH Full Source

DisposeMail: Free temporary email service webapp bot. Create instant disposable emails for signups, verification, and privacy protection.

πŸ€– Demo : @DisposeMailBot

How to Setup:
1.Download and extract ZIP file
2.Go to commands folder
3. Copy each command one by one
4.Create commands at telebothost.com and paste the code
5.That's all - your bot is ready!

Get this TBL bot now:
https://appgetmart.alwaysdata.net/tbhpost?id=28&platform=tbh

Important: Please read readme .md for full instructions after downloading the ZIP file.
Get @DemoTbhReferEarnBot Free!

What's this bot:
This bot is a refer and earn bot you can earn points by inviting friends, progress through bronze, silver, gold, and platinum levels to unlock exclusive bonus rewards

Features:

β€’ Referral system with points rewards
β€’ Level progression - Bronze β†’ Silver β†’ Gold β†’ Platinum
β€’ Leaderboard tracking
β€’ Admin dashboard for analytics

How to get this tbh bot:
1. Go to @DemoTbhReferEarnBot and start the bot
2. Click "Get This Bot For Free"
3. You will receive a message asking for your TBH email
4. Provide your valid TeleBotHost email
5. Bot will be transferred to your account

Note: Make sure you check your TeleBotHost account after transfer and configure the @ command settings