Bot Nations π
π€ Want the TBC AI Helper Prompt? Just send it to any AI model (like ChatGPT), and it will start working like TBC AI Helper! π Interested? Drop a comment below! β¬οΈ
π BB & TBC AI Helper Prompt is Here!
https://file-sharing-roan.vercel.app/?id=67dac7fae6986
https://file-sharing-roan.vercel.app/?id=67dac7fae6986
π10π₯°6β‘3π1
Bot Nations π
Ab konsi codes chaiye??
Bots/codes related ideas toh koi de hi nhi rha
Jldi jldi comment kro
Jldi jldi comment kro
π4β€1
π’ Auto Caption Bot β Add It to Your Channel and Experience the Magic! π
1οΈβ£ Add the bot to your Telegram channel as an admin.
2οΈβ£ Post any media fileβthe bot will automatically reply with all the relevant file details!
---
π For Bots.Business Users β Sample Code:
π¨βπ» Created By: @Swastik_Raj
Β© Copyright: @BotNations
π’ Feel free to share and give credit if you use this in your channel!
π How to Get Started:
1οΈβ£ Add the bot to your Telegram channel as an admin.
2οΈβ£ Post any media fileβthe bot will automatically reply with all the relevant file details!
---
π For Bots.Business Users β Sample Code:
var request2 = JSON.parse(request);
function formatFileSize(bytes) {
return (bytes / (1024 * 1024)).toFixed(2) + " MB";
}
if (request2.channel_post) {
var msgid = request2.channel_post.message_id;
var ch = request2.channel_post.sender_chat.id;
var fileInfo = "π *File Details:* \n";
var post = request2.channel_post;
// πΌ Photo
if (post.photo) {
let photo = post.photo[post.photo.length - 1]; // Get highest quality
fileInfo += "πΌ *Photo*\n";
fileInfo += "π *File ID:* `" + photo.file_id + "`\n";
fileInfo += "π *File Size:* `" + formatFileSize(photo.file_size) + "`";
}
// π₯ Video
else if (post.video) {
let video = post.video;
fileInfo += "π₯ *Video*\n";
fileInfo += "π *File ID:* `" + video.file_id + "`\n";
fileInfo += "π *File Name:* `" + (video.file_name || "Unknown") + "`\n";
fileInfo += "π *File Size:* `" + formatFileSize(video.file_size) + "`\n";
fileInfo += "β± *Duration:* `" + video.duration + " sec`\n";
fileInfo += "π *MIME Type:* `" + video.mime_type + "`";
}
// π΅ Audio
else if (post.audio) {
let audio = post.audio;
fileInfo += "π΅ *Audio*\n";
fileInfo += "π *File ID:* `" + audio.file_id + "`\n";
fileInfo += "π *File Name:* `" + (audio.file_name || "Unknown") + "`\n";
fileInfo += "π *File Size:* `" + formatFileSize(audio.file_size) + "`\n";
fileInfo += "β± *Duration:* `" + audio.duration + " sec`\n";
fileInfo += "π *MIME Type:* `" + audio.mime_type + "`";
}
// π Document (Including Videos Uploaded as Documents)
else if (post.document) {
let doc = post.document;
let isVideo = doc.mime_type.startsWith("video/");
if (isVideo) {
fileInfo += "π₯ *Video (Uploaded as Document)*\n";
} else {
fileInfo += "π *Document*\n";
}
fileInfo += "π *File ID:* `" + doc.file_id + "`\n";
fileInfo += "π *File Name:* `" + (doc.file_name || "Unknown") + "`\n";
fileInfo += "π *File Size:* `" + formatFileSize(doc.file_size) + "`\n";
fileInfo += "π *MIME Type:* `" + doc.mime_type + "`";
}
// π Sticker
else if (post.sticker) {
let sticker = post.sticker;
fileInfo += "π *Sticker*\n";
fileInfo += "π *File ID:* `" + sticker.file_id + "`\n";
fileInfo += "π *Emoji:* `" + (sticker.emoji || "None") + "`\n";
fileInfo += "π *File Size:* `" + formatFileSize(sticker.file_size) + "`\n";
fileInfo += "π *MIME Type:* `" + (sticker.mime_type || "Sticker") + "`";
}
// π GIFs (Sent as Animated Stickers or Documents)
else if (post.animation) {
let animation = post.animation;
fileInfo += "π *GIF / Animation*\n";
fileInfo += "π *File ID:* `" + animation.file_id + "`\n";
fileInfo += "π *File Name:* `" + (animation.file_name || "Unknown") + "`\n";
fileInfo += "π *File Size:* `" + formatFileSize(animation.file_size) + "`\n";
fileInfo += "π *MIME Type:* `" + animation.mime_type + "`";
}
// β No File Detected
else {
fileInfo = "β No supported file detected.";
}
// Send file info to the same channel
Api.sendMessage({
chat_id: ch,
text: fileInfo,
reply_to_message_id: msgid,
parse_mode: "Markdown"
});
}
π¨βπ» Created By: @Swastik_Raj
Β© Copyright: @BotNations
π’ Feel free to share and give credit if you use this in your channel!
π12β€2π1
π¬ Exciting Update!
A new code is coming soon that will fetch videos directly from your database channel!
Stay tuned! β³π₯
A new code is coming soon that will fetch videos directly from your database channel!
Perfect for movie bots and more! π₯π
Stay tuned! β³π₯
π13π₯5π2β€1
π Force Join Channel in Group [Telebot Creator Code]
π» Command:
β’οΈ TPY:
π» Command:
β’οΈ TPY:
βββββββββββββββββ
β οΈ Give credit if you are posting on your channel.
π¨βπ» Created By: Swastik
Β© Credit: @BotNations.
β Using this you can mute the users in your group until they join your Telegram channel once they join and they can click unmute button then the bot will unmute the user if he join the channel and if he / she left the channel then fhe bot will automatically mute the user back in group until they join your channel.
π» Command:
* β’οΈ TPY:
def check():
channels = "@Privates_Bots"#edit with channel username or with id
for i in channels:
check = bot.getChatMember(str(i), u)
if check.status != 'left':
pass
else:
return False
return True
usernm = f"""<a href="tg://user?id={u}">{message.from_user.first_name} {message.from_user.last_name}</a>"""
if message.from_user.last_name is None:
usernm = f"""<a href="tg://user?id={u}">{message.from_user.first_name}</a>"""
markup = InlineKeyboardMarkup()
markup.add(InlineKeyboardButton(
text="π’ Joined",
callback_data=f"/joined {u}"))
tim = int(time.time())
until = tim + 600
if not check():
bot.deleteMessage(chat_id=message.chat.id, message_id=message.message_id)
bot.restrictChatMember(chat_id=message.chat.id, user_id=u, can_send_messages=False, until_date=until)
txt = f"""<b>
π Hello {usernm}, Please Join Our Channel To Send Message in This Group
β€ {channels}
βοΈ After Joining, Click <code>π’ Joined</code></b>"""
bot.replyText(chat_id=message.chat.id, text=txt, reply_markup=markup)
π» Command:
/joinedβ’οΈ TPY:
if params != str(u):
bot.answerCallbackQuery(call.id, 'β This Message is Not For You', show_alert=True)
raise ReturnCommand()
def check():
channels = ["@Privates_Bots"] # edit with channel username
for i in channels:
member = bot.getChatMember(str(i), u)
if member.status != 'left':
pass
else:
return False
return True
usernm = f"""<a href="tg://user?id={u}">{call.from_user.first_name} {call.from_user.last_name}</a>"""
if call.from_user.last_name is None:
usernm = f"""<a href="tg://user?id={u}">{call.from_user.first_name}</a>"""
if check():
bot.restrictChatMember(chat_id=message.chat.id, user_id=u,
can_send_messages=True,
can_send_media_messages=True, # This includes audios, videos, photos, etc.
can_send_other_messages=True) # This includes polls and documents
bot.editMessageText(chat_id=message.chat.id, message_id=message.message_id,
text=f"<b>π {usernm}, Thanks For Joining Our Channel\n\nπ¬ Now You Can Send Message</b>")
else:
bot.answerCallbackQuery(call.id, 'β Must Join Our Channels', show_alert=True)
βββββββββββββββββ
β οΈ Give credit if you are posting on your channel.
π¨βπ» Created By: Swastik
Β© Credit: @BotNations.
π10β€3π₯2π₯°2β‘1
Bot Nations π
π¬ Exciting Update! A new code is coming soon that will fetch videos directly from your database channel! Perfect for movie bots and more! π₯π Stay tuned! β³π₯
This project is now ready and available in both JavaScript (BJS) and PHP! π
What do you need to get started? Let us know how we can assist you! π€π¬
What do you need to get started? Let us know how we can assist you! π€π¬
β€25π₯11π10π3π€©3π3π«‘2β€βπ₯1π₯°1π1
Bot Nations π
This project is now ready and available in both JavaScript (BJS) and PHP! π What do you need to get started? Let us know how we can assist you! π€π¬
How to Set Up the Bot
1. Claim Your Bot β Retrieve your bot from @SwastikGiveawayBot.
2. Activate Your Bot β Input the bot token and make it operational.
3. Connect to Database β Integrate the bot (as admin) with your designated database channel.
4. Upload Movie Files β Post movie files in either document video format or standard video format.
--------------------------------------------------------------------
How to Get a Movie?
Simply send the command in your bot:
/get {movie name}
πΉ Example: /get Avatar
1. Claim Your Bot β Retrieve your bot from @SwastikGiveawayBot.
2. Activate Your Bot β Input the bot token and make it operational.
3. Connect to Database β Integrate the bot (as admin) with your designated database channel.
4. Upload Movie Files β Post movie files in either document video format or standard video format.
β’ If you are sending a video, please ensure to include a caption with the movie name.
--------------------------------------------------------------------
How to Get a Movie?
Simply send the command in your bot:
/get {movie name}
πΉ Example: /get Avatar
π2
Bot Nations π
How to Set Up the Bot 1. Claim Your Bot β Retrieve your bot from @SwastikGiveawayBot. 2. Activate Your Bot β Input the bot token and make it operational. 3. Connect to Database β Integrate the bot (as admin) with your designated database channel. 4. Uploadβ¦
If you want this bot in both TBC and PHP,
please let us know in the comments!
please let us know in the comments!
π9β€3
Unlock your exclusive access to the Movies Bot in just a few easy steps:
1οΈβ£ Visit:
2οΈβ£ Send a message using the following format:
/send {your TBC email}
Example:
/send
β Instant Delivery
β‘ Secure Access
π₯ Enjoy Seamless Movie Management!
π8β€3
Bot Nations π
π¬ Claim Your Movies Bot Today! π¬ Unlock your exclusive access to the Movies Bot in just a few easy steps: 1οΈβ£ Visit: @private_bots_chats 2οΈβ£ Send a message using the following format: /send {your TBC email} Example: /send swastikraj127@gmail.com β¦
Attention everyone! The issue with the bot has been resolved. We encourage you to claim it again.
A special thank you to @Cader_r for bringing this error to our attention! Your help is greatly appreciated.
A special thank you to @Cader_r for bringing this error to our attention! Your help is greatly appreciated.
π3
π Auto Approve Bot [Bots Business Codes]
π Command:
π BJS :
π¨βπ» Created(or Copyright) By: Siya Bots
β This BJS, Auto Accept User Chat Join Request. Just Add The Tpy And Make The Bot Admin Where You Want To Work.
π Command:
*π BJS :
if (!request) return
if (typeof request === "string") {
try {
request = JSON.parse(request)
} catch (e) {
return
}
}
let info = request.chat_join_request
if (info) {
Api.sendMessage({
chat_id: info.from.id,
text: "Your request to join the channel has been accepted."
})
Api.approveChatJoinRequest({
chat_id: info.chat.id,
user_id: info.from.id
})
}
π¨βπ» Created(or Copyright) By: Siya Bots
π4π₯3