BotVerse by Ravi
157 subscribers
32 photos
4 videos
4 files
63 links
Explore the BotVerse! Updates, insights, and creations from Ravi's world of bots.

Support Chat: @BotVerseRaviSupport
Support Bot: @BotVerseRavi_bot

t.me/boost/BotVerseRavi
Download Telegram
๐Ÿš€ Auto-Approve Telegram Join Requests: Python Bot Code + User Notifications [TBC Code]


Command : /handler_chat_join_request

Code :
# Posted by @BotVerseRavi on Telegram
# Approve the user's join request
bot.approveChatJoinRequest(chat_id=message.chat.id,
                           user_id=message.from_user.id)

# Set dynamic valuers
bot_username = Bot.info().username
start_link = "https://t.me/" + bot_username + "?start"
user_name = message.from_user.first_name if message.from_user and message.from_user.first_name else "User"
channel_name = message.chat.title if message.chat and message.chat.title else "Channel"
user_id = message.from_user.id

# Define the inline keyboard properly
keyboard = {
    "inline_keyboard": [
        [{"text": "๐Ÿ™‹ Check I'm Alive!", "url": f"{start_link}"}]
    ]
}

# Send a welcome message
try:
    bot.sendMessage(
        chat_id=user_id,
        text=(
            f"๐ŸŽ‰<b> Hey, Welcome to {channel_name}</b>!\n\n"
            f"๐Ÿฅฐ <i>Weโ€™re glad to have</i> <b>{user_name}</b> <i>here. Stay tuned for awesome updates and content!</i>\n\n"
            f"<b>โ˜‘๏ธ Tap button Below to Alive me!</b>"),
        message_effect_id="5046509860389126442",
        parse_mode="html",
        reply_markup=keyboard
    )
except Exception as e:
    bot.sendMessage(str(e))


โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
โค2๐Ÿ‘1๐Ÿ”ฅ1๐Ÿ‘1
๐ŸŒŸ AI Video Generator Bot

โœ… Gแด‡ษดแด‡ส€แด€แด›แด‡ Aษช Vษชแด…แด‡แดs -

๐Ÿ”ฎ Cแดแดแดแด€ษดแด…: /vid
๐ŸŒˆ BแดŠ๊œฑ Cแดแด…แด‡:
let text = message.split(" ").slice(1).join(" ").trim();

//Posted on @BotVerseRavi

if (!text) {
return Bot.sendMessage(
"๐ŸŽฅ *AI Video Generator*\n\nPlease provide a prompt.\n\n*Usage:* /vid A dog dancing in rain\n*Example:* /vid Cyberpunk city at night",
{ parse_mode: "Markdown", reply_to_message_id: request.message_id }
);
}

let apiUrl = "https://yabes-api.pages.dev/api/ai/video/v1?prompt=" + encodeURIComponent(text);

HTTP.get({
url: apiUrl,
success: "/onVidGenerated",
error: "/onVidError"
});

โญ Gแด‡ษดแด‡ส€แด€แด›แด‡แด… Vษชแด…แด‡แด Rแด‡แด˜สŸส -

๐Ÿ”ฎ Cแดแดแดแด€ษดแด…: /onVidGenerated
๐ŸŒˆ BแดŠ๊œฑ Cแดแด…แด‡:
try {
let data = JSON.parse(content);

if (data && data.success && data.url) {
Api.sendVideo({
chat_id: chat.chatid,
video: data.url,
caption: "๐Ÿ’– Generated by: @BotVerseRavi ๐Ÿ˜Œ",
parse_mode: "Markdown",
reply_to_message_id: request.message_id
});
} else {
Bot.sendMessage("โŒ Failed to generate video. Please try again later.", {
reply_to_message_id: request.message_id
});
}
} catch (err)
//Posted on @BotVerseRavi
{
Bot.sendMessage("โŒ Error: " + err.message, {
reply_to_message_id: request.message_id
});
}

โญ Eส€ส€แดส€ Hแด€ษดแด…สŸแด‡ส€ -

๐Ÿ”ฎ Cแดแดแดแด€ษดแด…: /onVidError
๐ŸŒˆ BแดŠ๊œฑ Cแดแด…แด‡:
Bot.sendMessage("โŒ Network Error! Please try again later.",
//Posted on @BotVerseRavi
{
reply_to_message_id: request.message_id
});



โญ Exแด€แดแด˜สŸแด‡ Usแด‡ - /vid Sunset over snowy mountains

โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
โค2๐Ÿ”ฅ2๐Ÿฅฐ1๐ŸŽ‰1๐Ÿ†1
๐Ÿš€ TBC Code Script: Easy Broadcast Automation ๐Ÿ˜Ž



Command: /forbroadcast
admins = ["1234567890"] # Replace it with your user ID
if str(u) not in admins:
    raise ReturnCommand()
# made by @BotVerseRavi
if options == None:
    bot.replyText(u, "<b>๐ŸŽ™๏ธ Send Any Message To Forward Broadcast\n\nTo Cancel: /cancel</>")
    Bot.handleNextCommand("/forbroadcast", options=True)
    raise ReturnCommand()

else:
    if message.text == "/cancel":
        bot.sendMessage("<b>โŒ Cancelled</>")
        raise ReturnCommand()

    msg_id = message.message_id
    chat_id = message.chat.id

    code = f"bot.forwardMessage(chat_id=u, from_chat_id={chat_id}, message_id={msg_id})"

    url = libs.webhook.getUrlFor("/broadResult", u)
    task = Bot.broadcast(code=code, callback_url=url)
    Bot.saveData(task, None)
    bot.sendMessage("<b>๐Ÿ” Forward Broadcast Processing...</b>")
# made by @BotVerseRavi

2โƒฃ Command for Broadcast Status

Command : /broadResult
# made by @BotVerseRavi
try:
    get = options.json
    total = get.total
    success = get.total_success
    fail = get.total_errors
   
    txt = f"""<b>
๐ŸŽ™๏ธ Broadcast Done
   
๐Ÿ‘ฅ Total: {total}
โœ… Success: {success}
โŒ Failed: {fail}
</b>"""
    bot.sendMessage(txt)
except:
    bot.sendMessage("<b>โŒ Broadcast Data Process Failed</b>")
# made by @BotVerseRavi


โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
โค2๐Ÿ‘1๐Ÿ”ฅ1๐Ÿฅฐ1
๐Ÿ”ฐ Generators in Python

โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
โค2๐Ÿ”ฅ2๐Ÿฅฐ1
GITHUBSTUDENT50-M2QRIA


Free 50$ Atlas Credit!

Note: Someone else might have already taken this code, just try your luck.

โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
โค3๐Ÿ”ฅ1
๐Ÿ”ฐ Convert decimals to other number system

โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
๐Ÿคฉ2โค1๐Ÿ”ฅ1
๐Ÿ”ฐ 5 different ways to swap two numbers in python

โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
๐Ÿ”ฅ2โค1๐Ÿ™1
๐Ÿš€ Introducing Arian AI: Revolutionize Your AI Experience! ๐Ÿš€


Hello everyone! Dive into Arian AI, the innovative AI platform designed for seamless interactions, smart responses, and endless possibilities.

โžก๏ธ Explore it now at: https://arian-ai.42web.io

๐Ÿ‘จโ€๐Ÿ’ป Support Bot: @BotVerseRavi_bot
๐ŸŒ Channel: @BotVerseRavi
๐Ÿ› ๏ธ Support Group: @BotVerseRaviSupport

๐Ÿ“œ Check out our Terms of Use and Privacy Policy for more info.

Give it a spin and share your thoughts in the comments! ๐Ÿค–
โค2๐Ÿ”ฅ2๐Ÿ˜1๐Ÿคฉ1
Image Hosting Embed Code (TPY)


Command: *

# Made by @BotVerseRavi
if message.photo:
try:
bot.sendChatAction("upload_photo")

# Get photo
photo = message.photo[-1].file_id
file_info = bot.getFile(photo)
file_url = f"https://api.telegram.org/file/bot{Bot.info().token}/{file_info.file_path}"
# Made by @BotVerseRavi
# Upload to Catbox
response = HTTP.post(
"https://catbox.moe/user/api.php",
data={"reqtype": "urlupload", "url": file_url}
)

uploaded_url = response.text.strip()

if uploaded_url.startswith("http"):
# Send URL
# Made by @BotVerseRavi
bot.sendMessage(
chat_id=message.chat.id,
text=f"โœ… Uploaded!\n\n๐Ÿ”— {uploaded_url}",
parse_mode="HTML",
reply_to_message_id=message.message_id
)
else:
bot.sendMessage(
chat_id=message.chat.id,
text="โŒ Upload failed. Try again.",
reply_to_message_id=message.message_id
)

except:
# Generic error - no details shown
# Made by @BotVerseRavi
bot.sendMessage(
chat_id=message.chat.id,
text="โš ๏ธ Upload error. Please try again.",
reply_to_message_id=message.message_id
)
# Made by @BotVerseRavi
raise ReturnCommand()

โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
โค4๐Ÿ‘1๐Ÿ‘Œ1
Forwarded from BotVerse by Ravi
๐Ÿš€ Introducing Arian AI: Revolutionize Your AI Experience! ๐Ÿš€


Hello everyone! Dive into Arian AI, the innovative AI platform designed for seamless interactions, smart responses, and endless possibilities.

โžก๏ธ Explore it now at: https://arian-ai.42web.io

๐Ÿ‘จโ€๐Ÿ’ป Support Bot: @BotVerseRavi_bot
๐ŸŒ Channel: @BotVerseRavi
๐Ÿ› ๏ธ Support Group: @BotVerseRaviSupport

๐Ÿ“œ Check out our Terms of Use and Privacy Policy for more info.

Give it a spin and share your thoughts in the comments! ๐Ÿค–
๐ŸŽ‰2โค1๐Ÿ”ฅ1๐Ÿฅฐ1
๐Ÿค– Advanced Profile Insights [TPY Code]

Command : /info

 # Made by @BotVerseRavi
user = message.from_user
chat = message.chat
user_id = user.id
chat_id = chat.id

# Flags
is_private = chat.type == "private"
first_name = user.first_name or "No Name"
username = f"@{user.username}" if user.username else "None"
premium = "Yes" if user.is_premium else "No"
permalink = f"[Click Here](tg://user?id={user_id})"
# Made by @BotVerseRavi
# Determine group role
status = "Private Chat"
if not is_private:
try:
member = bot.getChatMember(chat_id=chat_id, user_id=user_id)
status = "Admin" if member.status in ["administrator", "creator"] else "Member"
except:
status = "Unknown"
# Made by @BotVerseRavi
# Message body
info_text = f"""
*๏ฝข User Information ใ€*
โ”โ”โ”โ”โ”โ”โ€ขโ…โ€ขยฐโ€ขโˆโ€ขยฐโ€ขโ…โ€ขโ”โ”โ”โ”โ”โ”
๐Ÿ‘ค *Name:* {first_name}
๐Ÿ”ค *Username:* {username}
๐Ÿ†” *User ID:* `{user_id}`
๐Ÿ”— *Permanent Link:* {permalink}
โญ *Premium:* {premium}
๐Ÿ›ก๏ธ *Status:* {status}
*Made by @BotVerseRavi*
โ”โ”โ”โ”โ”โ”โ€ขโ…โ€ขยฐโ€ขโˆโ€ขยฐโ€ขโ…โ€ขโ”โ”โ”โ”โ”โ”
"""
# Made by @BotVerseRavi
# Inline button
keyboard = [
[{"text": "View Profile", "url": f"tg://user?id={user_id}"}]
] if user.username else []

# Try sending with photo
try:
photos = bot.getUserProfilePhotos(user_id, limit=1)
if photos.total_count > 0:
file_id = photos.photos[0][0].file_id
bot.sendPhoto(
chat_id=chat_id,
photo=file_id,
caption=info_text,
parse_mode="Markdown",
reply_to_message_id=message.message_id,
reply_markup={"inline_keyboard": keyboard} if keyboard else None
)
else:
raise Exception("No photo")
except:
bot.sendMessage(
chat_id=chat_id,
text=info_text,
parse_mode="Markdown",
# Made by @BotVerseRavi reply_to_message_id=message.message_id,
reply_markup={"inline_keyboard": keyboard} if keyboard else None
)
# Made by @BotVerseRavi


โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
๐Ÿคฉ3โค1๐Ÿ‘1๐Ÿ”ฅ1๐Ÿ†11
As weโ€™re just a few hours away from stepping into 2026,
letโ€™s hear your resolutions for the coming year! ๐ŸŽ‰

You can also share your suggestions on how we can improve what we do.

The comment section is all yours โ€” weโ€™re listening! ๐Ÿ‘‡
โค1๐Ÿฅฐ1๐ŸŽ‰1๐Ÿคฉ11
Happy 2026! ๐ŸŽŠ
๐ŸŽ‰5โค11
Having trouble deploying your bot with our code scripts?


Let us know in the comments below! We're happy to help troubleshoot any issues you're encountering. Any suggestions you have for this channel are also welcome.
โค2๐Ÿคฉ11