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
๐ŸŒŸ 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
๐Ÿšง Note: This bot is currently in development. If you encounter any error, please comment below or DM @swastik_raj.
๐Ÿ‘5๐Ÿ†’3๐Ÿฅฐ1
๐Ÿ“œ API Name: Mistral AI Chatbot

๐Ÿ”— API URL: https://mistral-ai-three.vercel.app

โœจ Action: Engage in AI-powered conversations with memory for each user

๐Ÿ“ก Request Method: GET & POST (Receive JSON Response)

๐Ÿ” Parameters:
๐Ÿ”น question โ†’ User's query (Required)
๐Ÿ”น id โ†’ Your Telegram ID (Required, maintains chat history)

๐Ÿ“ GET Example:
https://mistral-ai-three.vercel.app/?id=123456789&question=Hello

๐Ÿ“ POST Example:
{
"id": "123456789",
"question": "Who is Albert Einstein?"
}

๐Ÿ“ค Response Example:
{
"status": "success",
"user_id": "123456789",
"question": "Who is Albert Einstein?",
"answer": "Albert Einstein was a theoretical physicist best known for developing the theory of relativity."
}


ยฉ Copy Claims By: @botnations
๐Ÿ“ฉ For Customization or Support, Message
@private_bots_chats/@swastik_raj
๐ŸŽ‰3๐Ÿ‘1๐Ÿ‘Œ1
๐Ÿง  Mistral AI Chatbot [Bots Business Code]

๐Ÿ’“ Command: /ask 

๐Ÿ‘ผ Answer: Send me your question to chat with AI.

โณ Wait for Answer: Onโœ…

๐Ÿ” BJS:
let apiUrl = "https://mistral-ai-three.vercel.app";

// Define the request payload
let data = {
id: user.telegramid, // Using user's Telegram ID for history
question: encodeURI(message)
};

// Send a POST request
HTTP.post({
url: apiUrl,
body: data,
success: "/onMistralResponse"
});


๐Ÿ’“ Command: /onMistralResponse 

๐Ÿ” BJS:
let json = JSON.parse(content);
if (json.status === "success") {
Bot.sendMessage("๐Ÿค– Mistral AI: " + json.answer);
}


๐Ÿ‘จโ€๐Ÿ’ป Created By: @Swastik_Raj
ยฉ Copyright:
@BotNations 
๐Ÿ“ข Feel free to share and give credit if you use this in your channel!
๐Ÿ‘4โค3โคโ€๐Ÿ”ฅ1๐Ÿ‘Œ1
๐Ÿค– 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