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
✨ Happy Vasant Panchami! ✨

May Goddess Saraswati bless you with wisdom, knowledge, and success. 🌼📖💛
Let the vibrant hues of yellow bring joy and prosperity to your life. 🌿🎶


Wishing you a bright and blessed Vasant Panchami! 🌞🙏

या कुन्देन्दुतुषारहारधवला या शुभ्रवस्त्रावृता
या वीणावरदण्डमण्डितकरा या श्वेतपद्मासना।
या ब्रह्माच्युतशंकरप्रभृतिभिर्देवैः सदा वन्दिता
सा मां पातु सरस्वती भगवती निःशेषजाड्यापहा॥
👍7❤4👏2
Need DeepSeek website source code (in HTML, CSS, JS, and PHP)?
👍8🔥6👏3🥰2❤1🙏1
🎉 DeepSeek Website Source Code (ZIP) – Free for You!

Hey everyone! I’m sharing the DeepSeek website source code in a ZIP file. If you want to check it out or use it, grab it now!

📥 Download here: https://t.me/MultipleFileShareBot?start=67fdb25740747
👍9❤1
Hello everyone,
From now I will be less active , and I might even stop using telegram. Because of this, I won’t be able to reply to any queries.

Thank you for everything! 💖
⚡5👍4❤1
Abhi 2 din me exam hai isliye todha busy hu isliye dm me reply nhi de pa rha
👍1
Here’s my exam schedule:

🗓️ February: 
• 15: English 
• 20: Science 
• 25: Social Science 
• 28: Hindi 

🗓️ March: 
• 10: Maths 
• 18: Computer Application 
👍25🫡8🤩3❤2🏆1
Bot Nations 🚀
• 15: English
English ka exam mast gya ❤️

Now hope for science 🧪
👍7👀6❤2
Thanks for 1K ❤️🫶🏻
👍8❤5🤩5🔥4
🔢 Number to Words Conversion Bot (BJS)

Convert any number into words with this simple BJS function!

// Function to convert numbers to words
function numberToWords(num) {
var ones = ["", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"];
var teens = ["", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen", "Nineteen"];
var tens = ["", "Ten", "Twenty", "Thirty", "Forty", "Fifty", "Sixty", "Seventy", "Eighty", "Ninety"];
var thousands = ["", "Thousand", "Million", "Billion"];

function convertLessThanThousand(n) {
var str = "";
if (n >= 100) {
str += ones[Math.floor(n / 100)] + " Hundred ";
n %= 100;
}
if (n >= 11 && n <= 19) {
str += teens[n - 10] + " ";
} else {
str += tens[Math.floor(n / 10)] + " " + ones[n % 10] + " ";
}
return str.trim();
}

if (num === 0) return "Zero";

var word = "";
var unit = 0;

while (num > 0) {
if (num % 1000 !== 0) {
word = convertLessThanThousand(num % 1000) + " " + thousands[unit] + " " + word;
}
num = Math.floor(num / 1000);
unit++;
}

return word.trim();
}

// 📥 Get user input
var num = parseInt(message);

// 🛠 Convert number to words
if (isNaN(num) || num < 0) {
Bot.sendMessage("❌ Please enter a valid positive number!");
} else {
var words = numberToWords(num);
Bot.sendMessage("🔢 *Number:* " + num + "\n📝 *In Words:* " + words + "");
}

⚙️ Usage Example:
Send a number, and the bot will return its word form!
• Example Input: 12345
• Output:
Twelve Thousand Three Hundred Forty-Five

👨‍💻 Created By: @Swastik_Raj
© Copyright:
@BotNations
👍9❤5👀3🤩2
🦗 All HTML Tags Working On Telegram.

➡️ Bold Text:
<b>Your Text Here.</b>


➡️ Italics Text:
<i>Your Text Here.</i>


➡️ Mono/Tap To Copy Text:
<code>Your Text Here.</code>


➡️ Spoiler Text:
<tg-spoiler>Your Text Here.</tg-spoiler>


➡️ StrikeThrough Text:
<s>Your Text Here.</s>


➡️ UnderLine Text:
<u>Your Text Here.</u>


➡️ Quote Text:
<blockquote>Your Text Here.</blockquote>


➡️ Expendable Quote Text:
<blockquote expandable>Your Text Here.</blockquote>


➡️ Send Copy Code Text:
<pre><code class="language-javascript">Bot.sendMessage("hello")
Bot.sendMessage("hello")
Bot.sendMessage("hello")
Bot.sendMessage("hello")</code></pre>


👨‍💻 Credit By:- @Algoraushan
❤14👍10🥰3🤩3
🌟 Free Image Processing API Source Code

export default {
async fetch(request) {
const url = new URL(request.url);
const imageUrl = url.searchParams.get("url");
const tool = url.searchParams.get("tool");

if (!imageUrl || !tool) {
return new Response("Missing required parameters: url and tool", { status: 400 });
}

const apiEndpoints = {
removebg: "https://api.remove.bg/v1.0/removebg",
enhance: "https://api.deepai.org/api/torch-srgan",
upscale: "https://api.deepai.org/api/waifu2x",
restore: "https://api.deepai.org/api/image-editor",
colorize: "https://api.deepai.org/api/colorizer"
};

const apiKey = {
removebg: "YOUR_REMOVEBG_API_KEY",
deepai: "YOUR_DEEPAI_API_KEY"
};

if (!apiEndpoints[tool]) {
return new Response("Invalid tool specified", { status: 400 });
}

try {
let apiUrl = apiEndpoints[tool];
let headers = {};
let body = {};

if (tool === "removebg") {
headers["X-Api-Key"] = apiKey.removebg;
body = new URLSearchParams({ image_url: imageUrl });
} else {
headers["api-key"] = apiKey.deepai;
body = new URLSearchParams({ image: imageUrl });
}

const apiResponse = await fetch(apiUrl, {
method: "POST",
headers: headers,
body: body
});

if (!apiResponse.ok) {
throw new Error("Failed to process image");
}

const jsonResponse = await apiResponse.json();
const resultUrl = jsonResponse.output_url || jsonResponse.data?.output_url;

if (!resultUrl) {
throw new Error("No output received");
}

const finalImageResponse = await fetch(resultUrl);
return new Response(finalImageResponse.body, {
headers: { "Content-Type": finalImageResponse.headers.get("Content-Type") }
});

} catch (error) {
return new Response(`Error processing request: ${error.message}`, { status: 500 });
}
}
};


⛓️ API Format:
https://your-worker-subdomain.worker.dev/?url=<IMAGE_URL>&tool=<TOOL_NAME>

📚 Example API Request:
https://your-worker-subdomain.worker.dev/?url=https://example.com/image.jpg&tool=removebg

👨‍💻 Created By: @Swastik_Raj
© Copyright:
@BotNations 
📢 Feel free to share and give credit if you use this in your channel!
👍9❤1🔥1
❤️‍🔥 All Necessary Info:

▎How to Host on Workers.dev Get API Keys

▎Hosting on Cloudflare Workers (workers.dev)

1️⃣ Sign Up for Cloudflare 
Go to https://workers.cloudflare.com/ and sign up if you don’t have an account. 
Once signed in, navigate to the Workers  Pages section.

2️⃣ Create a New Worker 
Click on "Create Application" → Select "Worker". 
In the Worker editor, replace the default code with your script.

3️⃣ Deploy Your Worker 
Click "Save and Deploy" to make it live. 
You’ll receive a unique URL like https://your-worker-subdomain.worker.dev/ that you can use for API requests.

4️⃣ Custom Domain (Optional) 
You can map your Worker to a custom domain via Cloudflare’s DNS Settings.

---

▎How to Get API Keys for Image Processing

✅ Remove.bg API Key 
Sign up at https://www.remove.bg/api and generate an API key from your account.

✅ DeepAI API Key (For Upscale, Enhance, Restore, Colorize) 
Sign up at https://deepai.org/ and navigate to the API section to get your key.

💡 Where to Add the Keys? 
Replace "YOURREMOVEBGAPIKEY" and "YOURDEEPAIAPIKEY" in the script with your actual keys.

---

▎Available Modes (tool parameter values)

1️⃣ removebg – Removes background from images using Remove.bg API. 
2️⃣ enhance – Enhances image quality using DeepAI’s torch-srgan. 
3️⃣ upscale – Upscales images using DeepAI’s waifu2x. 
4️⃣ restore – Restores images using DeepAI’s image-editor. 
5️⃣ colorize – Converts black  white images to color using DeepAI’s colorizer.

💡 Example Usage: 
https://your-worker-subdomain.worker.dev/?url=https://example.com/image.jpg&tool=upscale
👍10🔥4❤2
🚀 Introducing the BotMaker CAPTCHA API! 
Looking for a straightforward yet powerful solution to generate CAPTCHA images? Look no further! Our BotMaker CAPTCHA API is designed to help you effortlessly prevent spam and streamline user verification.

🔗 Get Started Today:

Sample API Request: 
https://botmaker.serv00.net/captcha.php?text={your_text}

Example API Request: 
https://botmaker.serv00.net/captcha.php?text=77877


📥 Example Success Response: 
{
  "captcha_text": "77877",
  "captcha_url": "https://botmaker.serv00.net/captchas/1740379201_f3d5d0b2.png",
  "credit": "t.me/botnations"
}


💡 How It Works: 
Simply pass your desired text as a query parameter, and our API will generate a CAPTCHA image in an instant!

✨ Key Features: 
✅ User-Friendly – Enjoy a hassle-free, URL-based API request. 
✅ Customizable Text – Create CAPTCHAs with any alphanumeric string of your choice. 
✅ Robust Anti-Spam Protection – Strengthen the security of your applications effectively. 
✅ Fast  Reliable – Experience quick response times for seamless integration into your systems.

📈 Ideal Use Cases: 
🔹 Secure User Logins  Signups 
🔹 Protect Form Submissions 
🔹 Prevent Bots in Online Services 
🔹 Enhance Authentication  Security Measures

Don’t wait! Start using the BotMaker CAPTCHA API today and safeguard your platform from bots while automating security with ease!

🔰 Creator: @botnations 
©Copyright: @botnations
👍4❤1
Bot Nations 🚀
25: Social Science 
Exam gone too well
🎉11👍2
🔥 Enhance Your Bot Messages with Special Effects on Bots.Business! 🎉

Did you know that you can experiment with different message effects using specific message_effect_id codes on Bots Business? Although not officially documented, some developers have found that adding an effect ID alongside an emoji can add a bit of flair to your bot messages! Check out the examples below:


▎Available Effects:

• 🔥 Fire Effect — message_effect_id: "5104841245755180586"

• 👍 Thumbs Up Effect — message_effect_id: "5107584321108051014"

• 👎 Thumbs Down Effect — message_effect_id: "5104858069142078462"

• ❤️ Heart Effect — message_effect_id: "5044134455711629726"

• 🎉 Celebration Effect — message_effect_id: "5046509860389126442"

• 💩 Poop Effect — message_effect_id: "5046589136895476101"

▎Example Code:

let effects = [
{ emoji: "🔥", text: "Fire effect message", id: "5104841245755180586" },
{ emoji: "👍", text: "Thumbs up effect message", id: "5107584321108051014" },
{ emoji: "👎", text: "Thumbs down effect message", id: "5104858069142078462" },
{ emoji: "❤️", text: "Heart effect message", id: "5044134455711629726" },
{ emoji: "🎉", text: "Celebration effect message", id: "5046509860389126442" },
{ emoji: "💩", text: "Poop effect message", id: "5046589136895476101" }
];

effects.forEach(effect => {
Api.sendMessage({
chat_id: user.telegramid,
text: `${effect.emoji} ${effect.text}`,
parse_mode: "Markdown",
message_effect_id: effect.id
});
});


▎How to Use:

1. Choose an emoji effect from the list above.

2. Include the corresponding messageeffectid in your Api.sendMessage code.

3. Customize the text to fit your message, and send!

Try it out and let us know if it adds some extra style to your bot’s messages! 🎉

     
⚠️ Give credit if you are posting on your channel.
👨‍💻 Created By:
Swastik
© Credit:
@Privates_Bots
👍8🤩3🔥1
🌟 Experience Effortless Automated Messaging Website!

🔗 https://file-sharing-roan.vercel.app/?id=67be08b615d2c
👍3⚡2❤1
Happy Maha Shivratri! 🥳❤️🙏✨ 
May Lord Shiva bless you with peace, happiness, and prosperity! 🌟🕉️💖 

Om Namah Shivaya! 🙏🌟 
Celebrate the power of transformation and renewal! 🌿🌺
❤7👍4🎉1
🚀 Introducing the TBC AI Helper API! 🚀

Are you looking for a quick and effective way to get assistance with your TBC (Telebot Creator) bot development? Look no further! Our new API provides expert guidance and code snippets to help you create and manage your bots effortlessly.

🔗 Sample API Request:
http://privatesbots.serv00.net/tbc-ai-helper.php
?id={your_telegram_id}question={your_question}

📥 Example Success Response:
{
"message": "Hello! How can I assist you today? If you have any questions or need help with something specific, feel free to ask!",
"credit": "https://t.me/Privates_Bots"
}


🔗 Example:
http://privatesbots.serv00.net/tbc-ai-helper.php?id=1789993737&question=hey

💡 How It Works:
Simply replace {your_telegram_id} and {your_question} in the API request with your Telegram ID and your specific query. Our service will provide tailored responses to help you with your TBC bot development!

🔰 Creator: @Privates_Bots 
©Copyright:
@Privates_Bots
👍5👌2
<?php

// Send typing action
$bot->sendChatAction($message->chat->id, 'typing');

// Get the user ID and question from the message
$userid = trim($message->text);
$question = "your_question_here"; // Replace this with the actual question or fetch dynamically if needed

// Define the new API URL
$url = "http://privatesbots.serv00.net/tbc-ai-helper.php?id={$userid}&question={$question}";

// Fetch the data from the new API
$client = new GuzzleHttpClient();
$response = $client->get($url);
$data = json_decode($response->getBody(), true); // Parse the response as JSON

// Format the fetched details
$details = "
<b>🤖 AI Helper Response:</b>

<blockquote><b>🔍 Question:</b> {$question}
<b>📡 Answer:</b> " . ($data['message'] ?? 'No response') . "
</blockquote>
";

// Send the formatted details back to the user
$bot->sendMessage(
    $message->chat->id,
    $details,
    [
        'parse_mode' => 'HTML',
        'reply_to_message_id' => $message->message_id
    ]
);
⚡2👍2