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
โ€œBusy due to study๐Ÿ‘๐Ÿปโ€
โค16๐Ÿ‘7
๐Ÿค– Random card ๐Ÿ’ณ Generator tpy

Command : /generate_card

try:
# Helper function to generate a random number string
def generate_digits(length):
return ''.join([str(libs.Random.randomInt(0, 9)) for _ in range(length)])

# Generate card details
card_number = generate_digits(16)
cvv = generate_digits(3)
month = str(libs.Random.randomInt(1, 12)).zfill(2)
year = libs.Random.randomInt(2025, 2030)
expiry = f"{month}/{year}"

# Enhanced UI Output
card_info = f"""
<b>๐Ÿ’ณ Virtual Card Generator</b>
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
<b>๐Ÿ”ข Card Number:</b>
<code>{card_number}</code>

<b>๐Ÿ“… Expiry Date:</b>
<code>{expiry}</code>

<b>๐Ÿ” CVV:</b>
<code>{cvv}</code>
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
<b>โœ… Generated Successfully!</b>
"""

# Send the formatted message
bot.sendMessage(card_info.strip(), parse_mode="html")

except Exception as e:
bot.sendMessage(f"โš ๏ธ <b>Error:</b> <code>{str(e)}</code>", parse_mode="html")


๐Ÿ“ฑ Made by : @a1mbo
๐ŸŒ Website : Telebotcreator.com


Plz ๐Ÿ™ share with credit ๐Ÿ˜ญ
โค12๐Ÿ‘4
๐Ÿ“ฑ GitHub Profile Information tpy code ๐Ÿค–

Command : /github

Example : /github rahul

if not params:
bot.sendMessage("โŒ Please provide a GitHub username.\n\nExample:\n<code>/github rahul</code>", parse_mode="HTML")
raise ReturnCommand()

username = params.strip()
url = f"https://api.github.com/users/{username}"

try:
res = HTTP.get(url)
data = res.json()

if "message" in data and data["message"] == "Not Found":
bot.sendMessage(f"โŒ GitHub user <b>{username}</b> not found.", parse_mode="HTML")
raise ReturnCommand()

# Extract all fields
name = data.get("name") or "N/A"
login = data.get("login") or "N/A"
id_ = data.get("id") or "N/A"
node_id = data.get("node_id") or "N/A"
avatar = data.get("avatar_url") or ""
html_url = data.get("html_url") or ""
repos_url = data.get("repos_url") or ""
followers_url = data.get("followers_url") or ""
following_url = data.get("following_url") or ""
gists_url = data.get("gists_url") or ""
blog = data.get("blog") or "N/A"
location = data.get("location") or "N/A"
email = data.get("email") or "N/A"
hireable = str(data.get("hireable")) or "N/A"
bio = data.get("bio") or "No bio provided."
twitter = data.get("twitter_username") or "N/A"
company = data.get("company") or "N/A"
followers = data.get("followers", 0)
following = data.get("following", 0)
public_repos = data.get("public_repos", 0)
public_gists = data.get("public_gists", 0)
created = data.get("created_at") or "N/A"
updated = data.get("updated_at") or "N/A"

# Format message
text = (
f"<b>๐Ÿ‘ค GitHub Profile</b>\n"
f"๐Ÿ‘จโ€๐Ÿ’ป Name: <b>{name}</b>\n"
f"๐Ÿ”‘ Username: <code>{login}</code>\n"
f"๐Ÿ†” ID: <code>{id_}</code>\n"
f"๐Ÿงฌ Node ID: <code>{node_id}</code>\n"
f"๐Ÿ“ Location: {location}\n"
f"๐Ÿข Company: {company}\n"
f"๐Ÿ“ฐ Blog: {blog}\n"
f"โœ‰๏ธ Email: {email}\n"
f"๐Ÿ“Œ Hireable: {hireable}\n"
f"๐Ÿฆ Twitter: {twitter}\n"
f"๐Ÿ“ฆ Public Repos: <b>{public_repos}</b>\n"
f"๐Ÿ—ƒ๏ธ Gists: <b>{public_gists}</b>\n"
f"๐Ÿ‘ฅ Followers: <b>{followers}</b> | Following: <b>{following}</b>\n"
f"๐Ÿ“ Bio: <i>{bio}</i>\n"
f"๐Ÿ“… Created: {created}\n"
f"๐Ÿ› ๏ธ Updated: {updated}\n"
f"๐Ÿ”— Profile: <a href='{html_url}'>{html_url}</a>\n"
f"๐Ÿ“ Repos: <a href='{repos_url}'>Repos Link</a>\n"
f"๐Ÿ‘ค Followers: <a href='{followers_url}'>Followers</a>\n"
f"โžก๏ธ Following: <a href='{following_url}'>Following</a>\n"
f"๐Ÿ“‘ Gists: <a href='{gists_url}'>Gists</a>"
)

bot.sendPhoto(photo=avatar, caption=text, parse_mode="HTML")

except Exception as e:
bot.sendMessage("โš ๏ธ Failed to fetch GitHub profile. Try again later.")


๐Ÿ“ฑ Made by : @a1mbo
๐ŸŒ Website : Telebotcreator.com


Plz ๐Ÿ™ share with credit ๐Ÿ˜ญ
โค19๐Ÿ‘4
๐Ÿ’ฌ Need a bot code?
Just drop your request in the comments!
โค14๐Ÿ‘5
---

๐Ÿ“Œ YouTube Video Summarizer Code (BJS for Bots.Business) ๐Ÿ“Œ 
โœ… Tested  Working in BB

---

๐Ÿ“œ Description: Summarize YouTube videos up to 1000 words. 
๐Ÿš€ Command: /start 
โณ Wait for response: โœ… On

---

๐Ÿš€ Command: /start

Bot.sendMessage("๐ŸŽฌ Welcome to the YouTube Summarizer Bot!\n\nPlease send the YouTube video link:");
Bot.runCommand("get_video_url");


---

๐Ÿš€ Command: /get_video_url

โณ Wait for response: โœ… On

let yt_url = message;
User.setProperty("yt_url", yt_url, "string");
Bot.sendMessage("โœ… Got the video link!\nNow enter the word count (15 to 1000):");
Bot.runCommand("/get_word_count");


---

๐Ÿš€ Command: /get_word_count

โณ Wait for response: โœ… On (NOTE: must be On in BB to capture user input)

let user_input = message;
let word_count = parseInt(user_input);

if (isNaN(word_count) || word_count < 15 || word_count > 1000) {
  Bot.sendMessage("โŒ Word count must be between 15 and 1000. Try again:");
  Bot.runCommand("/get_word_count");
  return;
}

let yt_url = User.getProperty("yt_url");
if (!yt_url) {
  Bot.sendMessage("โŒ No video link found. Please start again with /start.");
  return;
}

Bot.sendMessage("โณ Summarizing your video...");

HTTP.get({
  url: "https://api.hazex.sbs/yt-summarizer",
  params: {
    url: yt_url,
    wordCount: word_count
  },
  success: "/onSummaryResult",
  error: "/onSummaryError",
  // Optional: pass word_count for use in the callback
  bb_options: { word_count: word_count }
});


---

๐Ÿš€ Command: /onSummaryResult

let res = JSON.parse(content);

if (res.error) {
  let msg = res.message || "Unknown error occurred.";
  Bot.sendMessage("โŒ API Error: " + msg);
} else {
  let summary = res.result || "โš ๏ธ No summary returned.";
  let word_count = options.word_count;
  Bot.sendMessage("โœ… Summary (" + word_count + " words):\n\n" + summary);
}


---

๐Ÿš€ Command: /onSummaryError

Bot.sendMessage("๐Ÿšซ Failed to connect to the summarization API. Please try again later.");


๐Ÿ‘จโ€๐Ÿ’ป Created By: @Swastik_Raj 
๐Ÿ”— API By:
@HazexApi
ยฉ Copyright:
@botnations 

๐Ÿ“ข Share this with your friends and remember to give credit if you use it on your channel!
โค18๐ŸŽ‰2๐Ÿ”ฅ1
Bot Nations ๐Ÿš€
โ“Which bot do u want first?
Omegle chat bot is on the way.......... ๐Ÿ”œ
๐Ÿ‘20โค16๐Ÿคฉ5
Happy Rakshabandhan To All @botnations Family Members โค๏ธ
โค8
Forwarded from Nova: Your AI Companion ๐Ÿค–
๐Ÿ‘‹ Welcome to AI Helper Bot!

I can assist you with a variety of tasks:

๐Ÿ–ผ๏ธ Image Generation:
- /p [prompt] โ†’ Generate pollination-themed image
- /turbo [prompt] โ†’ Fast & detailed image generation
- /flux [prompt] โ†’ Generate Flux-style visuals
- /img [prompt] โ†’ Use default image model

๐Ÿง  AI & Code Help:
- /qwen [question] โ†’ Ask lightweight Qwen model
- /ask [question] โ†’ Get answers via ChatGPT-4.0
- /deep [question] โ†’ Use DeepSeek for advanced queries
- /php [code] โ†’ Solve PHP-related issues
- /tbc [query] โ†’ Help with TeleBotCreator platform
- /bb [query] โ†’ Solve queries from Bots.Business

๐Ÿ› ๏ธ Utilities:
- /vehicle [number] โ†’ Get vehicle details via plate number
- /font [name] โ†’ Find fonts from dafont.com
- /barcode [text] โ†’ Generate a barcode
- /gif [query] โ†’ Search for a GIF
- /dict [word] โ†’ Look up definitions and meanings
- /tts [text] โ†’ Convert text to speech
- /qr [text/link] โ†’ Create QR code
- /carbon [code/text] โ†’ Make Carbon-style image

Made with โค๏ธ by @botnations
โค10๐Ÿคฉ2
Wishing you all a vibrant and joyous Independence Day! Letโ€™s come together to celebrate our nationโ€™s strength and resilience. ๐Ÿ‡ฎ๐Ÿ‡ณ๐ŸŽŠ
โค10๐Ÿซก2โšก1
Jai Shree Radhe ๐Ÿฆš
โค16๐Ÿซก3๐Ÿ‘2
๐Ÿซถ๐Ÿป Delete URL From Group (Only For Group) [Bots Business Code]
โ“ Delete Message If it's contain any URL.


โค Command: *

๐Ÿ” BJS:
if (chat.chat_type != "private") {
const admin_id = [1789993737, 6261873071]//admin tg id here
if (!admin_id.includes(user.telegramid)) {
function validURL(url) {
var regex = /^(?:(?:https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/
return regex.test(url)
}

if (validURL(message)) {
var message_id = request.message_id

Api.deleteMessage({
message_id: message_id
})
return
}
return
}
return
}

โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
โš ๏ธ Give credit if you are posting on your channel.

๐Ÿ‘จโ€๐Ÿ’ป Created By:
Swastik
ยฉ Credit: @botnations.
โค14๐Ÿณ3
๐Ÿ‘จโ€๐Ÿ’ปGroup Join & Left Messages auto delete BJS :

โค Command: *

๐Ÿ” BJS:
if(chat.chat_type!="private"){
let new_members = request.new_chat_members;

if(new_members.length > 0){
Api.deleteMessage({chat_id:request.chat_id, message_id: request.message_id})
}

let left_members = request.left_chat_member;

if(left_members != null){
Api.deleteMessage({chat_id:request.chat_id, message_id: request.message_id})
}
}

โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
โš ๏ธ Give credit if you are posting on your channel.

๐Ÿ‘จโ€๐Ÿ’ป Created By:
Swastik
ยฉ Credit: @botnations.
โค11๐Ÿ”ฅ2
Forwarded from Coding with Mohit
Just because of some Copy Paste Bot Makers the real ones are facing this type of non-sense ๐Ÿ˜ž

Literally they didn't even know what an actual price of a bot is.....

Even I ask around 20-30% low price of the Orginal ones but still they think that no..! It's scam!

But who goes to them & say โ€” Sir, just try making one yourself then you would realise the time + efforts + stress + knowledge it takes.... ๐Ÿ˜Œ

The Copy Makers are just like a Hazardous Chemical which is eating the Real Community of Bot Developers.

Kitna bhi bol lo kam hai inlogon ke kiye, Customers/Clients ki koi galti nahi hai sab in so called Copy Bot Makers ke wajah se.

Note: I'm not saying anything to Clients/Customers ๐Ÿ˜•
โค16๐Ÿฅฐ5๐Ÿ‘4๐Ÿ”ฅ1
โญ Telegram Star Payment Accept & Refund BJS

Command:
/purchase

Api.sendInvoice({
chat_id: user.telegramid, //chat id to send invoice at
title: "Product",
//add a product name
description: "This is a Digital Product",
//add a description of your product here
payload: "payload",
//add a payload, which you want after successful of payment. for example order id...
currency: "XTR", //for telegram stars
provider_token: "", //empty string for telegram stars
//protect_content: true,
//uncomment if you don't want forwarding post
start_parameter: "star",
//if the invoice messgae is forwarded, in place of Pay button it will show a deep link to your bot with this parameter
prices: [
{
label: "test", //add a label
amount: 1 //Amount of Telegram Stars
}
],
reply_markup: {
inline_keyboard: [[{ text: "Buy for โญ๏ธ 1", pay: true }]]
//the first star emoji in text of pay button of keyboard will be converted to Telegram star icon
}
})


Command:
*

(Master Command)
let update = request

try { update = JSON.parse(request) } catch (e) {}

if (update.pre_checkout_query) {
//check for pre checkout query update and answer it to let the user complete payment

Api.answerPreCheckoutQuery({
pre_checkout_query_id: update.pre_checkout_query.id,
ok: true //false if need to cancel payment when uses confirms to pay
//error: 'error message in human readable form'
//^ required if ok is set to false
})

//Here is inspected update.pre_checkout_query for other details:
//{
// "id": "32802642947578352877",
// "from": {
// "id": 5058713343,
// "is_bot": false,
// "first_name": "Mr Devendra ๐Ÿ‡ฎ๐Ÿ‡ณ",
// "username": "devendra",
// "language_code": "en",
// "is_premium": true
// },
// "currency": "XTR",
// "total_amount": 1,
// "invoice_payload": "payload like order id"
//}

//Note: here update is received with pre_checkout_query field


} else if (update.successful_payment) {
//check for a received payment and respond accordingly

Bot.sendMessage(
`Payment of โญ๏ธ${update.successful_payment.total_amount} is successful`
)

//Here is inspected update.successful_payment for other details:
//{
// "currency": "XTR",
// "total_amount": 1,
// "invoice_payload": "payload like order id",
// "shipping_option_id": null,
// "order_info": null,
// "telegram_payment_charge_id": "charge id",
// "provider_payment_charge_id": "5058713343_12"
//}

//Note: here update is received with message field, so you can can user,chat details with request.from/request.chat etc...
//refer to message field at https://core.telegram.org/bots/api#message
}


Command:
/refund

var chargeId = 'charge ID'//telegram payment charge id, to send a refund
//this is provide through successful_payment parameter of message update

var userId = โ€˜user telegram idโ€™ //telegram id of user who made the star payment

API.call(โ€˜refundStarPaymentโ€™,{
user_id: userId,
telegram_payment_charge_id: chargeId
})
API.sendMessage({
user_id: userId,
text:โ€™We are refunding your Star Paymentโ€™
})


๐Ÿง‘โ€๐Ÿ’ป Coded by @devendra
ยฉ Copyright
: BjsCodes
โค20๐Ÿคฉ1
Forwarded from Rare Codes (Rajkumar)
๐ŸŽจ Ephoto360 Image Generator API ๐ŸŽจ
โœจ Create your own stylish text images in just one API call!

๐Ÿ”— API Endpoint:
https://api.prgujju.com/v1/image/ephoto360

๐Ÿ“Œ Required Fields:

โ— ๐Ÿ”‘ apiKey โ†’ Get From PRxStoneBot
โ— ๐ŸŽญ theme โ†’ get From Ephoto360
โ— ๐Ÿ“ text โ†’ First text (required)
โ— ๐Ÿ“ text1 โ†’ Second text (optional, for two-line text)

๐Ÿ“ท Result:
{
"status": true,
"logo": "...images/user_image/2025/08/689f0a1b02c70.jpg",
"TRX_Donate": "TMpSjyt7rQ2ipAWNsTsKt35CU6Ecgv3cd8"

๐Ÿ”ฅ Try it now and turn your text into art!

Bots.business Code - Click Here
โค12๐Ÿ‘2๐ŸŽ‰1
I'm thinking that I should also make YouTube videos to help you understand how to create a Telegram bot.

Can you please suggest some YouTube video ideas in the comments below? ๐Ÿ˜Š๐Ÿ’ก
โค19๐Ÿ‘9๐Ÿ”ฅ4
โ“How to send bot to another telebotcreator account !

โ„น๏ธ Command: /sendBot

๐Ÿซง Tpy:
if options == None:
bot.sendMessage("๐Ÿ“ง <b>Enter Your Telebotcreator.com Email Address:</b>",parse_mode="html")
Bot.handleNextCommand("/sendBot",True)
else:
try:
Bot.Transfer(email=message.text,bot_id=Bot.info().bot_id)
bot.sendMessage(f"โœ… <b>Bot Sent!\n\n๐Ÿ“ง To Email:</b> <code>{message.text}</code>",parse_mode="html")
except:
bot.sendMessage("โ›” <b>Error! This Email not exist on server.</b>",parse_mode="html")
โค11๐Ÿ‘7
๐Ÿ”” New User Notifications [Telebot Creator Codes].

๐Ÿ’“ Command:
/start

๐Ÿ” TPY:
hh = ""
started = User.getData("started")

if started is not True:
User.saveData("started", True)
st = libs.Resources.globalRes('status').add(1)
total_users_count = int(st)

bot.sendMessage(
chat_id=1789993737,
text=f"โž• <b>New User Notification</b> โž•\n\n๐Ÿ‘ค<b>User:</b> <a href='tg://user?id={u}'> {message.chat.first_name}</a> {hh}\n\n๐Ÿ†”<b> User ID :</b> <code>{u}</code>\n\n๐ŸŒ <b>Total User's Count: {total_users_count}</b>",
parse_mode="html",
disable_web_page_preview=True
)

๐Ÿง‘๐Ÿผโ€๐Ÿ’ป Created By: @Swastik_Raj
โค5
Forwarded from Tbc beta codes
๐Ÿค– Tpy code for Get Your account All bot Statistics ๐Ÿ“Š Bot id,Bot username,Bot name etc..

Command : /your_command_name

stats = Account.get_bots_stats()

if stats["ok"]:
result = stats["result"]

msg = "๐Ÿ“Š Account Bot Statistics\n"
msg += f"โ€ข Total Bots: {result['total_bots']}\n"
msg += f"โ€ข Total Users: {result['total_users']}\n"
msg += f"โ€ข Active Users: {result['total_active_users']}\n"
msg += f"โ€ข Total Commands: {result['total_commands']}\n"

msg += "\n๐Ÿ“ฆ Bots Overview:\n"

for b in result["bots"]:
msg += f"\n๐Ÿ”น {b['name']}\n"
msg += f"โ€ข Bot ID: {b['botid']}\n"
msg += f"โ€ข Username: @{b['username']}\n"
msg += f"โ€ข Status: {b['status']}\n"
msg += f"โ€ข Users: {b['users']} | Active: {b['active_users']}\n"
msg += f"โ€ข Blocked: {b['blocked_users']}\n"
msg += f"โ€ข Commands: {b['commands']}\n"
msg += f"โ€ข Points Used: {b['points_used']}\n"

msg += "\n๐Ÿ”น Powered by Telebot Creator\nCoded by : @a1mbo"

if len(msg) > 4000:
Account.saveData("all_stats_log", msg)
file = Account.getDataFile("all_stats_log")
Bot.sendDocument(file, caption="๐Ÿ“„ Full Bot Stats")
else:
Bot.sendMessage(text=f"<pre>{msg}</pre>", parse_mode="HTML")
else:
Bot.sendMessage("โŒ Failed to fetch account statistics.")


๐Ÿ“ฑ Made by : @a1mbo
๐ŸŒ Website : Telebotcreator.com |old.Telebotcreator.com


Plz ๐Ÿ™ share with credit ๐Ÿ˜ญ
Please open Telegram to view this post
VIEW IN TELEGRAM
โค19๐Ÿ‘2
๐Ÿ“ฃ Want @MultipleFileShareBot in TBC?
anonymous poll

โœ… Absolutelyโ€”bring it on! โ€“ 99
๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘ 87%

๐Ÿšซ No thanks, maybe later. โ€“ 15
๐Ÿ‘ 13%

๐Ÿ‘ฅ 114 people voted so far.
5โค10๐Ÿ‘4๐ŸŽ‰1