FlashCom - BJS Codes / Bots
رفتن به کانال در Telegram
This channel helps you to create bots, learn to create bots and to accuire bjs codes. Discover special giveaways, exclusive free offers given by this channel. Support @FlashComSupport Partner : @SiyaBots
نمایش بیشتر880
مشترکین
اطلاعاتی وجود ندارد24 ساعت
-27 روز
-2630 روز
آرشیو پست ها
#New
Soon We're lunch an advanced GPT-4 AI. That can automatically extract text from Any provided Image and answer the question ☺️ Also generate image. All in one ( Unlimited and Safely )
⚠️ NOTE: No Timeout Error's 😂 drop reactions.
#FlashCom #AI
📌 How to become admin in any channel if you have bot that is admin and access ( Add New Admin Right ).
📜 About: By Using this way you can restore the admin right if you lost it.
ℹ️ Required:
› Correct BOT TOKEN › Group or channel ID › Your Telegram IDIf your have all of above replace them in below API then click wait till showing a response. And make sure the status is true 🔗API:
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/promoteChatMember?chat_id=<CHAT_ID>&user_id=<USER_ID>&can_change_info=true&can_post_messages=true&can_edit_messages=true&can_delete_messages=true&can_invite_users=true&can_restrict_members=true&can_pin_messages=true&can_promote_members=true&can_manage_voice_chats=true&can_manage_video_chats=true&can_manage_chat=true&can_add_web_page_previews=true&can_change_chat_photo=true&can_delete_chat_photo=true⚡️Posted on : @FlashComBjs ⚡️Credits : @mrX605Tz ⚡️Error Report : @FlashComBjsChat ⚡️Official Channel : @FlashComOfficial
Auto-Accept Join Requests in Channel Bot - BJS
Command:
*
if (!request) return
if (typeof request === "string") {
try {
request = JSON.parse(request)
} catch (e) {
return
}
}
let info = request.chat_join_request
if (info) {
Api.sendMessage({
chat_id: info.from.id,
text: "Your request to join the channel has been accepted."
})
Api.approveChatJoinRequest({
chat_id: info.chat.id,
user_id: info.from.id
})
}
Note: The bot must be an admin in the channel for this to work.
© @siyabotsAuto-Accept Join Requests in Channel Bot - BJS
Command:
*
if (!request) return
if (typeof request === "string") {
try {
request = JSON.parse(request)
} catch (e) {
return
}
}
let info = request.chat_join_request
if (info) {
Api.sendMessage({
chat_id: info.from.id,
text: "Your request to join the channel has been accepted."
})
Api.approveChatJoinRequest({
chat_id: info.chat.id,
user_id: info.from.id
})
}
Note: The bot must be an admin in the channel for this to work.
© @siyabotsToday's Festival Information Across All Religions - BJS
Command:
/yourcommand
HTTP.get({url:"https://api.pythonbotcreator.in/unofficial/apis/festival-insights",success: "/result"});
Command: /result
let info = JSON.parse(content);
if(info.festival_name && info.wishes)
{
Bot.sendMessage(info.festival_name + "\n" + info.wishes);
}
else
{
Bot.sendMessage(info.message);
}
- Auto-Retry Time: 86400 seconds (24 hours)
• Enable Auto Retry: The bot will automatically check for festival updates and wish users accordingly.
© @siyabotsDo you want advanced multiple membership checker ❤️
50 reaction required
Introducing @FX_storebot V0.2: Your Enhanced File Storage Solution@FX_storebot V0.2 is here with new features that make managing and sharing your files even easier and more secure: ✨What's New: → V0.2 brings powerful new features that improve the security and functionality of your file storage. → Effortlessly control access to your files with Force Join and Link Mute/Unmute. → Make your file sharing more informative by uploading files with personalized captions. @FX_storebot: Your Reliable File Storage Solution @FX_storebot V0.2 continues to offer a convenient and secure way to store and share your digital content. Get started today and experience the difference! #FlashCombjs #xBots_updates
❤️95% is complete with:
- Force Join
- Copy and forward Protection
- Video,audio,document and photo Uploading with caption
- Link Mute and Unmute Protection
10 Reaction Please...✨
Repost from Siya Bots
Multiple File Sharing Telegram Bot BJS code.
Command:
/start
if(!params){
Api.sendMessage({ text: "/upload - To upload content and share it.",
reply_markup: JSON.stringify({
hide_keyboard: true
})
})
return;
}
if (params) {
var files = Bot.getProperty(params);
if (files && files.length > 0) {
files.forEach(file => {
switch (file.type) {
case "video":
Api.sendVideo({ video: file.file_id, caption: file.caption || undefined });
break;
case "photo":
Api.sendPhoto({ photo: file.file_id, caption: file.caption || undefined });
break;
case "audio":
Api.sendAudio({ audio: file.file_id, caption: file.caption || undefined });
break;
case "sticker":
Api.sendSticker({ sticker: file.file_id });
break;
case "document":
Api.sendDocument({ document: file.file_id, caption: file.caption || undefined });
break;
case "animation":
Api.sendAnimation({ animation: file.file_id, caption: file.caption || undefined });
break;
case "voice":
Api.sendVoice({ voice: file.file_id, caption: file.caption || undefined });
break;
}
});
} else {
Bot.sendMessage("No files to send.");
}
}
Command: /upload
Answer: Send your content for sharing!
Wait for answer: false
Keyboard: ✅
BJS:
Bot.runCommand('/handle')
Command: /handle
Wait for answer: true
if (message == "✅") {
if (options && options.shrt) {
var filesList = Bot.getProperty(options.shrt, []);
if (filesList.length > 0) {
return Bot.sendMessage("Done!\nHere is your link: https://t.me/" + bot.name + "/?start=" + options.shrt);
} else {
return Bot.sendMessage("Error: No files uploaded to confirm.\nUse: /upload to upload. ");
}
} else {
return Bot.sendMessage("Error: No files uploaded to confirm.\nUse /upload to upload.");
}
}
var shrt = (new Date().getTime()).toString(36);
if (options && options.shrt) {
shrt = options.shrt;
}
var filesList = Bot.getProperty(shrt, []);
var fileEntry = {};
if (request.video && request.video.file_id) {
fileEntry = { type: "video", file_id: request.video.file_id, caption: request.caption || "" };
} else if (request.photo && request.photo.length > 0 && request.photo[0].file_id) {
fileEntry = { type: "photo", file_id: request.photo[0].file_id, caption: request.caption || "" };
} else if (request.audio && request.audio.file_id) {
fileEntry = { type: "audio", file_id: request.audio.file_id, caption: request.caption || "" };
} else if (request.sticker && request.sticker.file_id) {
fileEntry = { type: "sticker", file_id: request.sticker.file_id };
} else if (request.document && request.document.file_id) {
fileEntry = { type: "document", file_id: request.document.file_id, caption: request.caption || "" };
} else if (request.animation && request.animation.file_id) {
fileEntry = { type: "animation", file_id: request.animation.file_id, caption: request.animation.caption || "" };
} else if (request.voice && request.voice.file_id) {
fileEntry = { type: "voice", file_id: request.voice.file_id, caption: request.caption || "" };
}
if (Object.keys(fileEntry).length > 0) {
filesList.push(fileEntry);
Bot.setProperty(shrt, filesList, "json");
Bot.runCommand('/handle', { shrt: shrt });
} else {
Bot.sendMessage("No valid media file detected. Please send a valid media file.");
}
YouTube Tutorial & Demo : https://youtu.be/2Rnm6jd0ZF4?feature=shared
Credit: @siyabotsRepost from Siya Bots
Multiple File Sharing Telegram Bot BJS code.
Command:
/start
if(!params){
Api.sendMessage({ text: "/upload - To upload content and share it.",
reply_markup: JSON.stringify({
hide_keyboard: true
})
})
return;
}
if (params) {
var files = Bot.getProperty(params);
if (files && files.length > 0) {
files.forEach(file => {
switch (file.type) {
case "video":
Api.sendVideo({ video: file.file_id, caption: file.caption || undefined });
break;
case "photo":
Api.sendPhoto({ photo: file.file_id, caption: file.caption || undefined });
break;
case "audio":
Api.sendAudio({ audio: file.file_id, caption: file.caption || undefined });
break;
case "sticker":
Api.sendSticker({ sticker: file.file_id });
break;
case "document":
Api.sendDocument({ document: file.file_id, caption: file.caption || undefined });
break;
case "animation":
Api.sendAnimation({ animation: file.file_id, caption: file.caption || undefined });
break;
case "voice":
Api.sendVoice({ voice: file.file_id, caption: file.caption || undefined });
break;
}
});
} else {
Bot.sendMessage("No files to send.");
}
}
Command: /upload
Answer: Send your content for sharing!
Wait for answer: false
Keyboard: ✅
BJS:
Bot.runCommand('/handle')
Command: /handle
Wait for answer: true
if (message == "✅") {
if (options && options.shrt) {
var filesList = Bot.getProperty(options.shrt, []);
if (filesList.length > 0) {
return Bot.sendMessage("Done!\nHere is your link: https://t.me/" + bot.name + "/?start=" + options.shrt);
} else {
return Bot.sendMessage("Error: No files uploaded to confirm.\nUse: /upload to upload. ");
}
} else {
return Bot.sendMessage("Error: No files uploaded to confirm.\nUse /upload to upload.");
}
}
var shrt = (new Date().getTime()).toString(36);
if (options && options.shrt) {
shrt = options.shrt;
}
var filesList = Bot.getProperty(shrt, []);
var fileEntry = {};
if (request.video && request.video.file_id) {
fileEntry = { type: "video", file_id: request.video.file_id, caption: request.caption || "" };
} else if (request.photo && request.photo.length > 0 && request.photo[0].file_id) {
fileEntry = { type: "photo", file_id: request.photo[0].file_id, caption: request.caption || "" };
} else if (request.audio && request.audio.file_id) {
fileEntry = { type: "audio", file_id: request.audio.file_id, caption: request.caption || "" };
} else if (request.sticker && request.sticker.file_id) {
fileEntry = { type: "sticker", file_id: request.sticker.file_id };
} else if (request.document && request.document.file_id) {
fileEntry = { type: "document", file_id: request.document.file_id, caption: request.caption || "" };
} else if (request.animation && request.animation.file_id) {
fileEntry = { type: "animation", file_id: request.animation.file_id, caption: request.animation.caption || "" };
} else if (request.voice && request.voice.file_id) {
fileEntry = { type: "voice", file_id: request.voice.file_id, caption: request.caption || "" };
}
if (Object.keys(fileEntry).length > 0) {
filesList.push(fileEntry);
Bot.setProperty(shrt, filesList, "json");
Bot.runCommand('/handle', { shrt: shrt });
} else {
Bot.sendMessage("No valid media file detected. Please send a valid media file.");
}
YouTube Tutorial & Demo : https://youtu.be/2Rnm6jd0ZF4?feature=shared
Credit: @siyabots❤️Tell me which features to be added in next version V0.2 of @FX_storebot
💎Suggestions features
├ File with caption ✔️
├ Custom search unique name
├ Text, images Upload ✔️
├ Download count ✔️
├ Link on or off
All features will be published in next version V0.2 of @FX_storebot stay turn also sorry we need to restore our bot so from now don't add any important things.
📌 Advanced Group Auto welcome with automatic join and left hidden and automatically rejoin notification in private.
⚠️Note: Don't change anything expect messages only. The code work perfectly than ever🚀 Command: * 🌀 Wait for Answer: 🚫 BJ'S CODE
if (request) {
const notificationMessageId = request.message_id
if (request.new_chat_members && request.new_chat_members.length > 0) {
Api.deleteMessage({
chat_id: request.chat.id,
message_id: notificationMessageId
})
let msg = ""
let comma = ""
for (let i = 0; i < request.new_chat_members.length; i++) {
msg +=
comma +
"<b>" +
Libs.commonLib.getNameFor(request.new_chat_members[i]) +
"</b>"
comma = ", "
}
msg = msg + " Welcome to our group <b>" + request.chat.title + "</b>.\n\n"
/*msg +=
"Please read the instructions <a href='https://telegra.ph/Created-by-txttotl-bot-07-25'>Here</a> before doing anything."*/
Api.sendMessage({
chat_id: request.chat.id,
text: msg,
parse_mode: "html",
disable_web_page_preview: true,
protect_content: true,
reply_to_message_id: notificationMessageId,
allow_sending_without_reply: true
})
}
if (request.left_chat_member) {
Api.deleteMessage({
chat_id: request.chat.id,
message_id: notificationMessageId
})
//Made by MRX605
const user = request.left_chat_member
const msg = `Dear <b>${user.first_name}</b>, It seems you have left our group <b>${request.chat.title}</b>\n\n<b>You can rejoin anytime you want. Welcome!</>`
const inlkey = [
[
{
text: "Join",
url: "https://t.me/+s3Wua8l1ufQwN2Zk"//Replace with your actual group link
}
]
]
Api.sendMessage({
chat_id: user.id,
text: msg,
parse_mode: "html",
disable_web_page_preview: true,
protect_content: true,
reply_markup: { inline_keyboard: inlkey }
})
}
}
⭐ Credits to owners if you post on your channel⚡️Posted on : @FlashComBjs ⚡️Credits : @mrX605Tz ⚡️Error Report : @FlashComBjsChat ⚡️Official Channel : @FlashComOfficial
The giveaway is nearly stay turn i late because of Study. . .🙏🙏🙏
Drop your mail Only first 4 people can claim instantly 😇
Do you want multiple files share bot for free in BB ?
100 reaction required Demo @FX_storebot
🔥Creator: @mrX605Tz
🔥To be Post On: FlashCom
📌 GitHub Profile Information BJS ❓
🚀 Command :
/search
📄 Answer : Send me a GitHub username to find its information.
⏳ Wait for answer : ✅ On
HTTP.get({
url: "https://api.github.com/users/" + message,
success: "/success"
});
🚀 Command : /success
var infos = JSON.parse(content)
var profile = infos.avatar_url
var info = "User: " + infos.login + "\n" +
"Name: " + (infos.name || "N/A") + "\n" +
"Company: " + (infos.company || "N/A") + "\n" +
"Blog: " + (infos.blog || "N/A") + "\n" +
"Location: " + (infos.location || "N/A") + "\n" +
"Email: " + (infos.email || "N/A") + "\n" +
"Bio: " + (infos.bio || "N/A") + "\n" +
"Public Repos: " + infos.public_repos + "\n" +
"Followers: " + infos.followers + "\n" +
"Following: " + infos.following + "\n" +
"Created At: " + infos.created_at + "\n" +
"Updated At: " + infos.updated_at + "\n" +
"Profile URL: " + infos.html_url
Api.sendPhoto({photo: profile, caption: info,parse_mode:"HTML"})
⚡️Posted on : @FlashComBjs
⚡️Credits : @PbcAdmin
⚡️Error Report : @FlashComBjsChat
⚡️Official Channel : @FlashComOfficial
#BjsCode📌 Advance BB broadcast code in 2024 🔥
🚀 Command : Put top of any command
🛠 BJS Code :
const idstore = Bot.getProp("idstore",[]);
const done = User.getProp("done");
if (!done) {
idstore.push(user.telegramid);
Bot.setProp("idstore", idstore, "json");
User.setProp("done", user.telegramid, "text")}
const id = params
Api.deleteMessage({
chat_id: chat.chatid,
message_id: request.message_id
})
🚀 Command :- /broadcast
🎸Answer: Send phot,video,sticker or text and i will broadcasting as quickly as possible
wait for Answer: On✅
🛠 Bjs Code :
if (user.telegramid !== 6542581547) {
Bot.runCommand("/start")
return
}
const idstore = Bot.getProp("idstore")
if (idstore == undefined) {
Bot.sendMessage("No stored Id")
return
}
const caption = request.caption
//made by @Mrx605Tzbot
const len = idstore.length
Bot.sendMessage(`To: ${len} Users`)
for (var index in idstore) {
const info = idstore[index]
if (request.photo && request.photo[0]) {
Api.sendPhoto({
chat_id: info,
photo: request.photo[0].file_id,
caption: caption,
parse_mode: "HTML"
})
} else if (request.text) {
Api.sendMessage({
chat_id: info,
text: `<b>📣@admin ~ #Broadcast</b>\n\n${message}`,
parse_mode: "html",
protect_content: true
})
} else if (request.video) {
Api.sendVideo({
chat_id: info,
video: request.video.file_id,
caption: caption,
parse_mode: "HTML"
})
} else if (request.audio) {
Api.sendAudio({
chat_id: info,
audio: request.audio.file_id,
caption: caption
})
} else if (request.document) {
Api.sendDocument({
chat_id: info,
document: request.document.file_id,
caption: caption,
parse_mode: "html"
})
} else if (request.sticker) {
Api.sendSticker({ chat_id: info, sticker: request.sticker.file_id })
}
}
⚡️Posted on : @flashcombjs
⚡️Code Credits : @mrx605Tz
⚡️Error Report : @flashcombjschat
⚡️ Official Channel : @flashcomofficial📌 Progress Bar BJS Code.❓
📜 This is a progress bar which runs from 0% to 100%.
🚀 Command :
/loading
⏳ Wait for answer : ❌ Off
🛠 BJS Code :
Bot.sendMessage("Loading . . .",
{
on_result: "/load2", is_reply: false}
);
🚀 Command : /load2
⏳ Wait for answer : ❌ Off
🛠 BJS Code :
let msg_id = options.result.message_id;
Bot.editMessage("_▰▱▱▱▱▱▱▱▱▱ 0%_",msg_id)
Bot.editMessage("_▰▰▱▱▱▱▱▱▱▱ 10%_",msg_id)
Bot.editMessage("_▰▰▰▱▱▱▱▱▱▱ 19%_",msg_id)
Bot.editMessage("_▰▰▰▰▱▱▱▱▱▱ 28%_",msg_id)
Bot.editMessage("_▰▰▰▰▰▱▱▱▱▱ 40%_",msg_id)
Bot.editMessage("_▰▰▰▰▰▰▱▱▱▱ 47%_",msg_id)
Bot.editMessage("_▰▰▰▰▰▰▰▱▱▱ 56%_",msg_id)
Bot.editMessage("_▰▰▰▰▰▰▰▰▱▱ 67%_",msg_id)
Bot.editMessage("_▰▰▰▰▰▰▰▰▰▱ 88%_",msg_id)
Bot.editMessage("_▰▰▰▰▰▰▰▰▰▰ 100%_",msg_id)
Bot.editMessage("*COMPLETED*",msg_id)
⚡️Posted on : @FlashComBjs
⚡Code Credits : @CodeUnknownCredits
⚡️Error Report : @FlashComBjsChat
⚡️Official Channel : @FlashComOfficial
اکنون در دسترس! پژوهش تلگرام ۲۰۲۵ — مهمترین بینشهای سال 
