CyberTron BotsπŸ€–
238 subscribers
4 photos
7 links
Admin: @RealOptimusPrimeBot
We are not responsible for what you do with our bots.
Download Telegram
Channel created
VIDEOS DOWNLOADER BOT CODE IN PYTHON
ENSURE THAT THE VIDEO URL ENDS IN .mp4

Eg:
https://www.example.com/videos/your-video.mp4

BOT CODE:
import telebot
import requests
from time import sleep
from clint.textui import progress

API_TOKEN = 'YOUR_TELEGRAM_BOT_API_TOKEN'

bot = telebot.TeleBot(API_TOKEN)
#Code By @RealOptimusPrimeBot
@bot.message_handler(commands=['start'])
def send_welcome(message):
bot.reply_to(message, "Hi there! Send me a video URL and I will download it for you.")
#code by @RealOptimusPrimeBot
@bot.message_handler(func=lambda message: True)
def download_video(message):
url = message.text
bot.reply_to(message, "Starting download...")

status_msg = bot.send_message(message.chat.id, "Downloading... 0%")

try:
response = requests.get(url, stream=True)
total_length = int(response.headers.get('content-length'))

if response.status_code == 200:
with open('downloaded_video.mp4', 'wb') as f:
downloaded_length = 0
for chunk in progress.bar(response.iter_content(chunk_size=1024), expected_size=(total_length / 1024) + 1):
if chunk:
f.write(chunk)
f.flush()
downloaded_length += len(chunk)
percentage = int((downloaded_length / total_length) * 100)
bot.edit_message_text(chat_id=message.chat.id, message_id=status_msg.message_id, text=f"Downloading... {percentage}%")

bot.reply_to(message, "Download completed! Sending the video file...")
video = open('downloaded_video.mp4', 'rb')
bot.send_video(message.chat.id, video)
video.close()
else:
bot.reply_to(message, "Failed to retrieve the video. Please ensure the URL is correct.")

except requests.RequestException as e:
bot.reply_to(message, f"An error occurred: {e}")

if __name__ == "__main__":
bot.polling()

REPLACE "YOUR BOT TOKEN " WITH THE ACTUAL TOKEN FROM BOT FATHER

CREDIT:
Code By: @RealOptimusPrimeBot
Channel: @CyberTronAPIs @CyberTronBots
❀1
πŸš€ Welcome to Infinity Tech Courses Bot! πŸš€

Are you ready to elevate your skills and knowledge in the tech world? Look no further! Introducing @InfinityTechCoursesBot, your go-to destination for accessing and downloading a wide range of FREE tech courses.

πŸ“š Explore and Learn: Dive into our collection of high-quality courses covering programming languages, web development, data science, cybersecurity, and much more.

πŸ”— Download for Offline Learning: Download your favourite courses to study on-the-go, even when offline.

‡️ Stay Updated: Stay tuned for regular updates and new course additions to keep your learning journey dynamic and exciting.

⚑️ How to Get Started: Simply start a chat with @InfinityTechCoursesBot to discover a world of free educational opportunities waiting for you.

/start - To test if the bot is alive
/search - To search through all the available courses
/listcourses - To list all the courses available on the bot's database



πŸ“¦ Note: For the best experience, ensure you have the latest Telegram version installed.

Get ready to unlock new possibilities and level up your tech skills with Infinity Tech Courses Bot! πŸš€

βœ…Start Exploring Now: @InfinityTechCoursesBot
Please open Telegram to view this post
VIEW IN TELEGRAM
🌟 Explore InfinityTechCoursesBot - Your Ultimate Learning Companion! 🌟

πŸš€ Introduction Tutorial: If you're feeling stuck while using InfinityTechCoursesBot, we've got you covered! Check out our comprehensive introductory tutorial to enhance your bot experience.

πŸ“Ή Watch Tutorial: Click here to watch the tutorial now and unlock the full potential of InfinityTechCoursesBot.

❓ Have Questions or Need Assistance?: Simply message me at @RealOptimusPrimeBot for any queries or support related to the InfinityTechCoursesBot.
Please open Telegram to view this post
VIEW IN TELEGRAM
Create your own Livegram (anonymous chat) bot like @RealOptimusPrimeBot.


import telebot 
from telebot import types,TeleBot


kresswell = TeleBot("BOT TOKEN HERE")

user_messages = {}
forwarded_messages = {}
ADMINS = [] # Add your admin id. You can have more than one

@kresswell.message_handler(commands=['start'])
def handle_start(message):
    kresswell.send_message(message.chat.id, f"Hello {message.from_user.first_name}nLeave your message below!")

@kresswell.message_handler(func=lambda message: message.chat.type == 'private', content_types=['text', 'photo', 'audio', 'document', 'video', 'voice', 'video_note', 'sticker', 'location', 'contact'])
def handle_all_messages(message):
    if message.chat.id in ADMINS:
        # Handle admin's reply
        if message.reply_to_message and message.reply_to_message.message_id in forwarded_messages:
            original_message_id = forwarded_messages[message.reply_to_message.message_id]
# join @InfinityTechHub
            original_user_id = user_messages[original_message_id]['chat_id']
            # Forward the appropriate content type back to the user
            if message.content_type == 'text':
                kresswell.send_message(original_user_id, message.text)
            else:
                kresswell.copy_message(original_user_id, message.chat.id, message.message_id)
            print(f"Admin {message.chat.id} replied to user {original_user_id}")
        else:
            # share code with proper credit
            kresswell.reply_to(message, "Please reply to a forwarded user message.")
    else:
        original_message_id = message.message_id
        user_messages[original_message_id] = {
            'chat_id': message.chat.id,
            'content_type': message.content_type,
            'user_id': message.from_user.id
        }
        for admin in ADMINS:
            forwarded_message = kresswell.forward_message(admin, message.chat.id, original_message_id)
            forwarded_messages[forwarded_message.message_id] = original_message_id
        #kresswell.reply_to(message, "Your message has been forwarded to an admin. Please wait for a response.")
        print(f"User {message.chat.id} message forwarded to admin(s)")

print(f"bot started with name {kresswell.get_me().first_name}")
if name == 'main':
    kresswell.infinity_polling()


Save the code in a file main.py

Replace "BOT TOKEN HERE" with an actual token from @BotFather.

Add Bot Admins using telegram user ids. Eg:
ADMINS = [56789956886, 857890005, 78996...]

Run main.py
GitHub Downloader Bot

import os
import requests
import telebot
from datetime import datetime

# Bot information
BOT_TOKEN = 'YOUR_TELEGRAM_BOT_TOKEN'
bot = telebot.TeleBot(BOT_TOKEN)
BOT_NAME = "GitRepo Downloader"
BOT_VERSION = "1.0.1"
LAST_UPDATE = "December 26, 2024"
DEVELOPER = "@Real_OptimusPrime"

# Command: /start
@bot.message_handler(commands=['start'])
def start(message):
uptime = datetime.now() - bot_start_time
bot.reply_to(
message,
f"✨ Welcome to **{BOT_NAME}** bot! ✨\n"
f"πŸ‘€ User: @{message.chat.username}\n"
f"πŸ•’ Date and time: {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}\n"
f"⏳ Uptime: {str(uptime).split('.')[0]}\n\n"
f"πŸ‘¨β€πŸ’» Developed by: **{DEVELOPER}**\n"
f"πŸ“Œ Version: {BOT_VERSION}\n"
f"πŸ—“ Last update: {LAST_UPDATE}\n\n"
f"Send a GitHub link to download repositories. Use `/help` for more information."
)

# Command: /help
@bot.message_handler(commands=['help'])
def help(message):
bot.reply_to(
message,
f"**Bot Help** πŸ› \n"
f"πŸ“₯ **How to use**:\n"
f"1. Send a GitHub link of a public repository.\n"
f"2. The bot will download the repository and send you a zip file.\n"
f"3. You will receive information about the repository (if it has a README.md).\n\n"
)

# Process GitHub links
@bot.message_handler(func=lambda msg: "github.com" in msg.text)
def download_repo(message):
repo_url = message.text.strip()
bot.reply_to(message, "⏳ Processing the link...")

try:
repo_name = repo_url.split('/')[-1]
if not repo_name:
repo_name = repo_url.split('/')[-2]

zip_url = f"{repo_url}/archive/refs/heads/main.zip"
response = requests.get(zip_url, stream=True)
if response.status_code != 200:
raise Exception("Could not download the repository. Make sure the link is public.")

zip_file = f"{repo_name}.zip"
with open(zip_file, 'wb') as file:
for chunk in response.iter_content(chunk_size=1024):
file.write(chunk)

file_size = os.path.getsize(zip_file) / (1024 * 1024)
bot.reply_to(message, "πŸ“€ Sending the repository...")
with open(zip_file, 'rb') as file:
bot.send_document(
message.chat.id,
file,
caption=f"βœ… File downloaded.\nπŸ“‚ Name: {repo_name}\nπŸ“¦ Size: {file_size:.2f} MB"
)

os.remove(zip_file)
repo_info = f"πŸ”— **Repository:** {repo_url}\n"
try:
readme_url = f"{repo_url}/raw/main/README.md"
readme_response = requests.get(readme_url)
if readme_response.status_code == 200:
repo_info += f"πŸ“ **Description:**\n{readme_response.text[:500]}...\n"
else:
repo_info += "πŸ“ **Description:** README.md file not found.\n"
except Exception:
repo_info += "πŸ“ **Description:** README.md file not found.\n"

bot.send_message(message.chat.id, repo_info, parse_mode='Markdown')
except Exception as e:
bot.reply_to(message, f"❌ Error: {str(e)}")

# Main function
if __name__ == "__main__":
bot_start_time = datetime.now()
print(f"{BOT_NAME} started...")
bot.polling()




Channel: @InfinityTechBots
🌟 Introducing the Ultimate Mod APK Bot! 🌟

Looking for modded APKs? Say goodbye to the hassle! Our Mod APK Bot is here to make your experience seamless and efficient. πŸš€

πŸ€– How It Works:
Just send the name of the APK you’re looking for, e.g., Snaptube mod apk.
Sit back and relax as the bot fetches your file!

✨ Features:
1️⃣ User-Friendly Interface – No complicated commands, just chat with the bot!
2️⃣ High-Speed Downloads – Enjoy blazing-fast download speeds.
3️⃣ Telegram Optimized – Downloads files up to 50 MB directly via Telegram. For larger files, we’ll send you a direct download link instead.


Proudly owned by:
πŸ”Ή @InfinityTechHub
πŸ”Ή @InfinityTechBots
πŸ”Ή@PrimeModers

➑️Developed by:
πŸ‹ Kresswell (@RealOptimusPrimeBot)🌟
🐍 Written in Python for peak performance!

⚑️ Get Started Today!
Send the bot the name of the APK you want and let it do the rest. Modding has never been this easy!

🐹BOT USERNAME: @InfinityTechModsBot
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸš€ Infinity Tech Courses Bot - New Updates!πŸŽ‰

We’ve added new features and improvements to enhance your experience!

πŸ†• New Commands:
πŸ”Ž /searchonline – Instantly get direct links to any course!
(Not just tech courses – now students from all fields can find courses.)
ℹ️ /help – Get a curated list of commands and bot usage info.

πŸ”„ Updated Commands:
βœ… /search – Now automatically clears old messages before displaying results.
βœ… /listcourses – Older messages are removed for a cleaner experience.
βœ… /start – Improved UI and formatting for a better welcome message.

πŸ“š Start exploring now! πŸš€
For any feedback, contact @RealOptimusPrimeBot .

πŸ”₯Bot By: Kresswell
πŸ”₯Channels: @InfinityTechHub , @InfinityTechBots , @InfinityTechCourses
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ›«Use this bot for instant channel requests approvals πŸ‹

Features:
-> Approves users instantly upon requesting ⭐️
-> Bot has zero delays⭐️
-> Faster than other bots(written in GolangπŸ₯°)
-> No ads in your channels⭐️

☠️Bot Link: @IHAutoAcceptUserBot 😍
Please open Telegram to view this post
VIEW IN TELEGRAM
🌷 Introducing @TeleUploaderRoBot – Your Ultimate Upload & Shortening Bot! πŸš€

We’re excited to launch @TeleUploaderRoBot, your new go-to bot for:

βœ… Instant Image Hosting – Upload images directly to PixHost.to
βœ… URL Shortening – Convert long links into short, shareable URLs with SHRX.pw

Simply send an image or a link, and the bot will handle the rest!

Try it now πŸ‘‰ @TeleUploaderRoBot

πŸ”„ Share with your friends & make link-sharing easier!
Please open Telegram to view this post
VIEW IN TELEGRAM
❀️ Introducing the Image Generator Bot! πŸ€–βœ¨

Get ready to unleash your imagination with the ultimate AI image generation bot! πŸ”₯

Here's what you get:

SFW & NSFW image generation:
πŸ˜‡ Create whatever your mind can dream up!
Unlimited creations:
♾️ Generate as many images as you want – we won't stop you!
Blazing-fast speed & completely FREE! πŸ‘©β€πŸš€

Important Note:
⚠️ Occasionally, image generation might fail. This is due to limitations with the API we're using. Just try again – we're working hard to improve it! πŸ™

Find it here: @CBImageGeneratorBot

Brought to you by: @CyberTronBots || @RealOptimusPrimeBot
Please open Telegram to view this post
VIEW IN TELEGRAM
1
πŸ›«Get Free Virtual Numbers On Our Botβœ…

Features:
-> Free virtual numbers for almost every country.⚑️
-> Numbers can be used on any websiteβœ…
-> Retrieve the last 5 messages sent to the number 0️⃣
-> Completely anonymous, we do not track your activity or store any dataπŸ‹

Enjoy @OnlineSimBot
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘44πŸ”₯3
If any of our Bots is not working, send me a message @cliticaldamage
6πŸ‘322
Check this bot: @recovermyaccountbot

It can help you recover your account if you get logged out
433