xCode
291 subscribers
22 photos
2 videos
3 files
46 links
Download Telegram
Please Give 5 star 🌟 Review on our Custom GPT

https://chatgpt.com/g/g-690a0a4ffde4819193a77612b76d05e5-tbl-helper-ai
❤5👍2
xCode pinned a photo
🌟 URL Unshortner TBL Code

Command - /unshort
TBL Code -
if (!params) {
  Bot.sendMessage(
    "*✅ Pʟᴇᴀꜱᴇ ꜱᴇɴᴅ ᴀ ꜱʜᴏʀᴛᴇɴᴇᴅ ᴜʀʟ*\n\n*Example:*\n/unshort [https://bit.ly/xxxx](https://bit.ly/xxxx)",
    { parse_mode: "Markdown" }
  );
  return;
}

let shortUrl = params.trim();

if (!modules.validator.isURL(shortUrl)) {
  Bot.sendMessage(
    "*❌ Iɴᴠᴀʟɪᴅ ᴜʀʟ ꜰᴏʀᴍᴀᴛ*",
    { parse_mode: "Markdown" }
  );
  return;
}

let anim = await Api.sendMessage({
  chat_id: chat.id,
  text: "*Uɴꜱʜᴏʀᴛɪɴɢ 10% ▓░░░░░░░░*",
  parse_mode: "Markdown",
  disable_web_page_preview: true
});

sleep(400);
Api.editMessageText({
  chat_id: chat.id,
  message_id: anim.result.message_id,
  text: "*Uɴꜱʜᴏʀᴛɪɴɢ 20% ▓▓░░░░░░░*",
  parse_mode: "Markdown",
  disable_web_page_preview: true
});

sleep(400);
Api.editMessageText({
  chat_id: chat.id,
  message_id: anim.result.message_id,
  text: "*Uɴꜱʜᴏʀᴛɪɴɢ 30% ▓▓▓░░░░░░*",
  parse_mode: "Markdown",
  disable_web_page_preview: true
});

let percent = 30;

while (percent < 100) {
  percent += Libs.random.randomInt(12, 20);
  if (percent > 100) percent = 100;

  let filled = Math.floor(percent / 10);
  let empty = 10 - filled;
  let bar = "▓".repeat(filled) + "░".repeat(empty);

  sleep(250);
  Api.editMessageText({
    chat_id: chat.id,
    message_id: anim.result.message_id,
    text: "*Uɴꜱʜᴏʀᴛɪɴɢ " + percent + "% " + bar + "*",
    parse_mode: "Markdown",
    disable_web_page_preview: true
  });
}

sleep(400);

let res = await HTTP.get({
  url: "https://unshorten.me/json/" + encodeURIComponent(shortUrl),
  timeout: 6000
});

if (!res.ok || !res.data) {
  Api.editMessageText({
    chat_id: chat.id,
    message_id: anim.result.message_id,
    text: "*❌ Fᴀɪʟᴇᴅ ᴛᴏ ᴜɴꜱʜᴏʀᴛ ᴛʜᴇ ᴜʀʟ*",
    parse_mode: "Markdown"
  });
  return;
}

let finalUrl = res.data.resolved_url || res.data.full_url;

if (!finalUrl) {
  Api.editMessageText({
    chat_id: chat.id,
    message_id: anim.result.message_id,
    text: "*❌ Cᴏᴜʟᴅ ɴᴏᴛ ʀᴇꜱᴏʟᴠᴇ ᴛʜɪꜱ ʟɪɴᴋ*",
    parse_mode: "Markdown"
  });
  return;
}

Api.editMessageText({
  chat_id: chat.id,
  message_id: anim.result.message_id,
  text:
    "*✅ Uɴꜱʜᴏʀᴛᴇɴᴇᴅ ᴜʀʟ*\n\n" +
    "`" + finalUrl + "`\n\n" +
    "*━━━━━━━━━━━━━━━━━━*\n" +
    "*Sᴛᴀᴛᴜꜱ:* Rᴇꜱᴏʟᴠᴇᴅ\n" +
    "*Vɪᴀ:* unshorten.me",
  parse_mode: "Markdown",
  disable_web_page_preview: true,
  reply_markup: {
    inline_keyboard: [
      [
        { text: "Cᴏᴘʏ Uʀʟ", copy_text: { text: finalUrl } },
        { text: "Oᴘᴇɴ", url: finalUrl }
      ]
    ]
  }
});


Creadit - @CyberXCoding
Pleatform -  telebothost.com
❤1
Is your Render app sleeping?
Wake it up instantly with @UptimeFlarexBot ⚡️
Always-on monitoring. No downtime.


🌟 By - @CyberXCoding
🔥1
xCode pinned a photo
𓆩 ʜᴀᴘᴘʏ ɴᴇᴡ ʏᴇᴀʀ 𝟸𝟶𝟸𝟼 𓆪

╭━━━━━ ✦ ✧ ✦ ━━━━━╮

ᴍᴀʏ ᴛʜɪs ɴᴇᴡ ʏᴇᴀʀ ʙʀɪɴɢ ʏᴏᴜ
ʜᴀᴘᴘɪɴᴇss, ᴘᴇᴀᴄᴇ, ɢᴏᴏᴅ ʜᴇᴀʟᴛʜ,
ᴀɴᴅ ᴇɴᴅʟᴇss ᴏᴘᴘᴏʀᴛᴜɴɪᴛɪᴇs ғᴏʀ ɢʀᴏᴡᴛʜ

╰━━━━━ ✦ ✧ ✦ ━━━━━╯

💙 ᴡɪsʜɪɴɢ ʏᴏᴜ ᴀɴᴅ ʏᴏᴜʀ ғᴀᴍɪʟʏ
ᴀ ᴊᴏʏғᴜʟ, ᴘʀᴏsᴘᴇʀᴏᴜs, ᴀɴᴅ ʙʟᴇssᴇᴅ ɴᴇᴡ ʏᴇᴀʀ

ᴍᴀʏ 𝟸𝟶𝟸𝟼 ʙᴇ ғɪʟʟᴇᴅ ᴡɪᴛʜ ʜᴏᴘᴇ, ᴘᴏsɪᴛɪᴠɪᴛʏ,
ᴀɴᴅ ɴᴇᴡ ʙᴇɢɪɴɴɪɴɢs

@xBotsBusiness
Our TBL Helper AI has crossed 300+ conversations 🎉  on ChatGPT store

Try it and build your bots on telebothost.com -
https://chatgpt.com/g/g-690a0a4ffde4819193a77612b76d05e5-tbl-helper-ai

It is an AI assistant designed specially for:
• Telegram Bot Development 
• TeleBot Lang (TBL) 
• Automation & Bot Logic 

More updates, features & tools coming soon.

#Telegram #TelegramBots #ChatGPT #Programming #Developers
❤5
🌟 Auto Deleter for Channel Post

Examples of delay formats:
• /set_delay 10s — Delete after 10 seconds
• /set_delay 1m — Delete after 1 minute
• /set_delay 15m — Delete after 15 minutes
• /set_delay 2h — Delete after 2 hours
• /set_delay 1d — Delete after 1 day

Command: *
Bjs:
https://t.me/xBotsBusiness/25
https://t.me/xBotsBusiness/25
🌈 Wᴇʙsɪᴛᴇ Sᴄʀᴇᴇɴsʜᴏᴛ Gᴇɴᴇʀᴀᴛᴏʀ Bᴊs

Wᴇʙsɪᴛᴇ Sᴄʀᴇᴇɴsʜᴏᴛ Gᴇɴᴇʀᴀᴛᴏʀ Bᴊs ( Bᴏᴛs.Bᴜsɪɴᴇss )
🔮 Cᴏᴍᴍᴀɴᴅ ❥ /screenshot
Wᴀɪᴛ Fᴏʀ Aɴsᴡᴇʀ Oɴ ✅
🌈 Bᴊs ❥
Api.sendPhoto({
photo:
"https://image.thum.io/get/width/1200/png/" +
message,
caption: "<b>SᴄʀᴇᴇɴSʜᴏᴛ Gᴇɴᴇʀᴀᴛᴇᴅ ✅</b>",
parse_mode: "HTML"
})

Cʀᴇᴀᴅɪᴛ ❥ @CyberXCoding
Host it on app.bots.business
🔥2👎1
Wᴇʙsɪᴛᴇ Sᴄʀᴇᴇɴsʜᴏᴛ Gᴇɴᴇʀᴀᴛᴏʀ TBL ( TᴇʟᴇBᴏᴛHᴏsᴛ )

🔮 Cᴏᴍᴍᴀɴᴅ ❥
/screenshot
Wᴀɪᴛ Fᴏʀ Aɴsᴡᴇʀ Oɴ ✅
TBL ❥
Api.sendPhoto({
photo:
"https://image.thum.io/get/width/1200/png/" +
message,
caption: "<b>SᴄʀᴇᴇɴSʜᴏᴛ Gᴇɴᴇʀᴀᴛᴇᴅ ✅</b>",
parse_mode: "HTML"
})



Cʀᴇᴀᴅɪᴛ ❥ @CyberXCoding
Works in both telebothost.com and app.bots.business
❤3👍3👎1
🌟 Unlimited YouTube Search ( TᴇʟᴇBᴏᴛHᴏsᴛ )
Command - *
TBL -
if (!msg) return;
let query = message.trim();
if (!query) {
  msg.reply("Enter Your Query E.g., 'Hacking' ✅");
  return;
}

let apiUrl = "https://youtube.cyberxapi.workers.dev/search?q=" + encodeURIComponent(query); //Unlimited searches
let res = await HTTP.get(apiUrl);

if (res.ok && res.data && res.data.items && res.data.items.length > 0) {
  let results = res.data.items.slice(0, 5); // you can set here more limits up to 12 results maximum
  let formatted = "⌕ *YouTube Search: " + query + "*\n\n";

  results.forEach((item, i) => {
    let title = item.title || "Untitled";
    let channel = item.channel || "Unknown";
    let duration = item.lengthText || "Live";
    let url = item.url || "#";
    formatted += `${i+1}. *${title}*\n`;
    formatted += `${channel} • ${duration}\n`;
    formatted += `[Watch Now](${url})\n\n`;
  });

  msg.reply(formatted, {
    parse_mode: "Markdown"
  });
} else {
  msg.reply("❌ No videos found for '" + query + "'. Try another search query 😁");
}

By: @CyberXCoding
Posted on: @xBotsBusiness
Works in telebothost.com
❤3
@FlameBoxBot clone is coming to telebothost.com (currently this bot is hosted on Bots.Business)

This is a powerful multi-file sharing bot


After the clone, I will provide this bot to all of you on telebothost.com

Demo URL – https://t.me/FlameBoxBot/?start=42491964_e7muWAeF35hy3bZgJt2C8fmedBhRY8
🔥3❤1
Command - /button
Bjs -
// custom emoji ID
const EMOJI_ID = "5474667187258006816"

Api.sendMessage({
  text: "<b>🔥 New Button UI</b>\n\nInline + Keyboard colors & icons",
  parse_mode: "HTML",
  reply_markup: {
    inline_keyboard: [
      // Row 1
      [
        { text: "Normal", callback_data: "*" },
        { text: "Primary", callback_data: "*", style: "primary" }
      ],

      // Row 2
      [
        { text: "Success", callback_data: "*", style: "success" },
        { text: "Danger", callback_data: "*", style: "danger" }
      ],

      // Row 3 (Icon)
      [
        {
          text: "Icon Button",
          callback_data: "*",
          icon_custom_emoji_id: EMOJI_ID
        }
      ]
    ]
  }
})

New features:

— Colored Buttons:
Bot developers can now customize the background color of keyboard buttons. Three button styles are currently available to all developers, regardless of Premium status:

• bg_primary
• bg_danger
• bg_success


Creadit - @Paradox0x0
Posted By - @CyberXCoding
❤3
Example Bjs to use premium emojis in your bot

Command - /emoji
Bjs -
let text = '<tg-emoji emoji-id="4956259055468282692">🌟</tg-emoji>, Hello';

Api.sendMessage({
text: text,
parse_mode: "HTML"
});

Find more premium emoji id's from @idpullbot or use Bot.inspect() to create your own bot.

Note: The bot owner must have a premium account to use premium emojis in their bots. If the bot owner does not have Telegram Premium, they cannot use premium emojis in the bot.