Bot Nations ๐Ÿš€
17.1K subscribers
18 photos
1 video
3 files
53 links
๐Ÿ–๐Ÿป Welcome to โ€œBot Nationsโ€!

๐Ÿค– Hello, Everyone! Here, Iโ€™ll Teach You How To Create Telegram Bots.

โžก Join Our Discussion Group: @Private_Bots_Chats

๐Ÿ“ž For Sponsorships, Ads, or Promotions, Contact Us At @PB_Sponsorship.
Download Telegram
๐Ÿค– 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! โฌ‡๏ธ
18๐Ÿ‘17โค5๐Ÿ”ฅ4๐Ÿ‘Œ4๐Ÿฅฐ3๐Ÿ’ฏ2๐Ÿซก2๐Ÿ†’2๐Ÿ†1
Do you want a human-like AI chatbot API and BJS?
anonymous poll

Yes โ€“ 235
๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘ 87%

No โ€“ 34
๐Ÿ‘ 13%

๐Ÿ‘ฅ 269 people voted so far.
๐Ÿ‘24๐Ÿฅฐ6๐Ÿซก2๐Ÿ‘Œ1
India won ๐Ÿ‡ฎ๐Ÿ‡ณ๐Ÿฅณ
๐Ÿ‘12โค7๐ŸŽ‰4๐Ÿ‘Œ4๐Ÿ”ฅ3โšก2
Radhe Radhe Mitron ๐Ÿ™๐Ÿผโค๏ธ
โค9๐Ÿ‘5
๐ŸŒˆโœจ Wishing everyone a vibrant and joyous Holi from @botnations! ๐ŸŽ‰๐Ÿ’–

May this festival of colors fill your life with happiness, love, and endless laughter.

As we splash colors and share sweets, letโ€™s also spread kindness and positivity all around. ๐ŸŒธ๐Ÿฅณ

Embrace the spirit of togetherness and let go of all negativity!

Letโ€™s celebrate the triumph of good over evil and cherish the beautiful moments with our loved ones. ๐ŸŒผ๐Ÿ’ฆ

Hereโ€™s to creating unforgettable memories and painting our lives with the brightest hues!

Happy Holi from all of us at @botnations! ๐ŸŒŸโค๏ธ

#HoliFestival #ColorsOfJoy #SpreadLove
โคโ€๐Ÿ”ฅ6๐Ÿ‘3โค2๐Ÿ†’2๐ŸŽ‰1๐Ÿ‘Œ1
Indo-IG-Seller.zip
325.3 KB
SCRIPT-: MANUALLY ADD PAYMENT โค๏ธ

GO TO ANY FREE HOSTING SITE AND CHANGE THE DATA IN ZIP FILE LIKE BOT TOKEN OWNER ID
ADD YOUR PAYMENT QR
INDO AUTO BOT.zip
855.5 KB
AUTOMATIC FUNDS ADD INDO IG SCRIPT FOR ALL โœ…
โค11๐Ÿ‘3๐Ÿ”ฅ2๐Ÿ‘Œ2
Thanks for 2k โ™พ๏ธ๐Ÿ’ช๐Ÿปโค๏ธ
๐Ÿ‘6โšก5
Ab konsi codes chaiye??
๐Ÿ‘8๐Ÿ‘€2โค1๐Ÿฅฐ1
Bot Nations ๐Ÿš€
Ab konsi codes chaiye??
Bots/codes related ideas toh koi de hi nhi rha
Jldi jldi comment kro
๐Ÿ‘4โค1
How to change PlaceHolder Like In The Image!?

Bjs :
Api.sendMessage({
text: "Hey Please Send Your Name",
parse_mode: "Markdown",
reply_markup: { force_reply: true, input_field_placeholder: "Input Your Name Here!" }
})

Coded by "idk" comment if u think they it's your code!
๐Ÿ‘9๐Ÿฅฐ2โค1
Drop reaction for 'Auto Caption Bot '
๐Ÿ‘21โšก4๐Ÿ”ฅ3โค2๐Ÿคฉ2
๐Ÿ‘6โค5๐Ÿ”ฅ3
๐Ÿ“ข Auto Caption Bot โ€“ Add It to Your Channel and Experience the Magic! ๐Ÿš€

๐Ÿ›  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!
Perfect for movie bots and more! ๐ŸŽฅ๐Ÿš€

Stay tuned! โณ๐Ÿ”ฅ
๐Ÿ‘13๐Ÿ”ฅ5๐Ÿ‘Œ2โค1
๐ŸŽš Force Join Channel in Group [Telebot Creator Code]
โ“ 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! ๐Ÿค”๐Ÿ’ฌ
โค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.

โ€ข 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