FlashCom - BJS Codes / Bots
883 subscribers
51 photos
4 videos
1 file
93 links
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
Download Telegram
๐Ÿ“Œ Translate text in Bot - BJS codeโ“

๐Ÿš€ Command: /translate
๐Ÿ“ƒ Answer: Send any text to translate it.
โŒ›๏ธ Wait for answer : โœ…
if (message!=""){
Bot.sendInlineKeyboard([[ {title: "Hindi ๐Ÿ‡ฎ๐Ÿ‡ณ", command: "/tr hi" }, {title: "Nepali ๐Ÿ‡ณ๐Ÿ‡ต", command: "/tr ne"} ],[ {title: "English ๐Ÿ‡บ๐Ÿ‡ธ", command: "/tr en" }, {title: "French ๐Ÿ‡ซ๐Ÿ‡ท", command: "/tr fr"} ]], message)
}

๐Ÿš€ Command: /tr
HTTP.post({
url:"https://google-translate1.p.rapidapi.com/language/translate/v2",
headers: { "content-type": 'application/x-www-form-urlencoded', 'Accept-Encoding':'application/gzip','X-RapidAPI-Key':'350bf0a51cmsh348c955b900fd46p15d6e3jsn037f7906d5b5','X-RapidAPI-Host': 'google-translate1.p.rapidapi.com' },
body:'q='+request.message.text+'&target='+params,
success: '/onTranslationResult',

})
Api.deleteMessage({message_id:request.message.message_id})

๐Ÿš€ Command: /onTranslationResult
var r=JSON.parse(content).data.translations[0]
if(r){
Bot.sendMessage(r.translatedText+"\n\n"+"Translated from : "+r.detectedSourceLanguage+"")
}
else{
Bot.sendMessage("Some error occured.")
}

โ€ข Replace your API key. Get API key from rapidapi.com

โšก๏ธPosted on : @flashcombjs
โšก๏ธCredits : @sarozpaudel
โšก๏ธError Report : @flashcombjschat
โšก๏ธOfficial Channel : @flashcomofficial
๐Ÿ‘3
๐Ÿ“Œ Rate Bot BJS Codeโ“

๐Ÿ“œ With this code users can rate your bot.

๐Ÿš€ Command : /ratebot

๐Ÿ›  BJS Code :
function getGlobalRes(res) {
return Libs.ResourcesLib.anotherChatRes(res, "global")
}

var rate1 = getGlobalRes("rate-1")
var rate2 = getGlobalRes("rate-2")
var rate3 = getGlobalRes("rate-3")
var rate4 = getGlobalRes("rate-4")
var rate5 = getGlobalRes("rate-5")
var button = [
[{ text: rate1+" ๐ŸŒŸ", callback_data: "/rate 1" }],
[{ text: rate2+" ๐ŸŒŸ๐ŸŒŸ", callback_data: "/rate 2" }],
[{ text: rate3+" ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ", callback_data: "/rate 3" }],
[{ text: rate4+" ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ", callback_data: "/rate 4" }],
[{ text: rate5+ "๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ", callback_data: "/rate 5" }]
]
Api.sendMessage({
text: "*Please Rate Our Bot*\n_Use The Buttons Below_",
parse_mode: "Markdown",
reply_markup: { inline_keyboard: button }
})


๐Ÿš€ Command : /rate

๐Ÿ›  BJS Code :
if (!params) {
return
}
var rated = User.getProperty("Rated")
if (rated) {
Bot.editMessage("You've Already Voted", request.message.message_id)
return
}
var globalRate = Libs.ResourcesLib.anotherChatRes("rate-" + params, "global")
globalRate.add(1)
User.setProperty("Rated", true)
Bot.editMessage(
"You Voted Us " + params + " Stars!",
request.message.message_id
)


โšก๏ธPosted on : @flashcombjs
โšก๏ธCredits :
@CodeUnknownCredits
โšก๏ธError Report :
@flashcombjschat
โšก๏ธOfficial Channel :
@flashcomofficial
๐Ÿ‘3๐Ÿ†2
๐Ÿ“Œ Music ๐ŸŽถ Downloader Bjs. PRO โ“

๐ŸŽธAnswer: Send me a name of a song and I'll send you the song in the highest quality

wait for Answer: Onโœ…

๐Ÿš€ Command : /music

๐Ÿ›  BJS Code :
Api.sendChatAction({
chat_id: chat.chatid,
action: "record_voice"
})
User.setProp("Audioname", params)
var url =
"https://music-api-rouge-rho.vercel.app/?songname=" +
encodeURIComponent(message) +
""
HTTP.get({
url: url,
success: "/download2"
})

๐Ÿš€ Command :- /download2

๐Ÿ›  Bjs Code :
try {
var musiclink = JSON.parse(content)
var music = musiclink.download_link

if (musiclink === undefined) {
Bot.sendMessage(
"*โŒ Not Found*\n\nPlease use this system below to search for the name of the song you want\n\nExample: `Artist name than songname `"
)
return
}
var aud = Libs.ResourcesLib.anotherChatRes("audio", "global")
var Audioname = User.getProp("Audioname")
Api.sendChatAction({
chat_id: chat.chatid,
action: "upload_voice"
})
Api.sendDocument({
document: music,
caption:
"<b>๐ŸŽ™๏ธResalt Of :-</> ใ€<i>" +
Audioname +
"</>ใ€‘\n<b>๐ŸŽถ Music By :- @" +
bot.name +
"</>\n\n<b>โšกNote:-</>\nIf it's not the right one, please check the name and send it again correctly.\n\n<b>๐ŸŽธEnjoy the beats! ๐ŸŽง</>",
parse_mode: "HTML"
})
aud.add(+1)
User.setProperty("Audioname", [], "json") // Set an empty array as the value for "tickets" property
} catch (error) {
console.error("An error occurred:", error)
Bot.sendMessage(
"*โŒ Error's*\n\n`An error occurred while processing the music link. Please try again later.`"
)
}
โš ๏ธThere's a problem with Api Right now


โšก๏ธPosted on : @flashcombjs
โšก๏ธCode Credits :
@mrx605Tz
โšกApi Credit :
@Nepcoder
โšก๏ธError Report :
@flashcombjschat
โšก๏ธ Official Channel :
@flashcomofficial
๐Ÿ‘6
What do you want FlashCom to create next โ“

-- We would like to get you opinion on what FlashCom must create next as channels, groups, bots etc.. You can suggest anything you want as per the decision we make and then your suggestions may include after the decision taken.

๐Ÿค” Just comment your idea by below comment option
๐Ÿ‘2
๐Ÿ˜ Join Our ICC Men's T20 World Cup Official Telegram Channel:
https://t.me/T20WC2024

Flash Id : 103738272.
๐Ÿšฉ Flag Ad
#ADS
๐Ÿ‘3
โœ… New UPI Cash Bot Launched [ OpenMoney Pe BoT ] โšก๏ธ

๐Ÿ‡ฎ๐Ÿ‡ณ Link:-
@OpenMoney_Pe_bot

โญ๏ธ Bonus:- โ‚น1-2
โค๏ธโ€๐Ÿ”ฅ Per Refer:- โ‚น1-3
๐Ÿ‘‘ Min Withdraw:- โ‚น10
๐Ÿ’ต Withdraw Tax:- 20% Gst/Tax
๐Ÿ“ฃ Bot Funds:- โ‚น1,500

โค๏ธ Give Different Reactions Guys


Flash Id : 103283732.
๐Ÿšฉ Flag Ad
#ADS
๐Ÿ‘5
๐Ÿ“Œ How To Make The User Can Withdraw Only 1 Time In 1 Day BJS Codeโ“

๐Ÿ“œ
This code helps user to withdraw only one time in one day.

๐Ÿš€ Command :
/withdraw

๐Ÿ› ๏ธ BJS Code :
function canRun(){
var last_run_at = User.getProperty("last_withdraw");
if(!last_run_at){ return true }
var minutes = (Date.now() - last_run_at) /1000/60;
var minutes_in_day = 12 * 60
var next = minutes_in_day - minutes
var wait_hours = Math.floor(next / 60)
next -= wait_hours * 60
var wait_minutes = Math.floor(next)
var seconds = Math.floor((next - wait_minutes) * 60)
if(minutes < minutes_in_day) {
Bot.sendMessage("*๐Ÿ“› You Can Withdraw Only 1 Time In Day.\n\nโš ๏ธ Come Back After "+wait_hours+" Hours "+wait_minutes+" Minutes "+seconds+" Seconds To Withdraw Again.*")
   return
}
  return true;
}
if(!canRun()){ return }
Bot.runCommand("๐Ÿ“ค Withdraw")

๐Ÿš€ Command 01 : Auto

๐Ÿ› ๏ธ BJS Code 01 :
User.setProperty("last_withdraw", Date.now(), "integer");

๐Ÿ“œ Note : ๐Ÿ‘†๐Ÿป Add It In Last Of Auto Command

โšก๏ธPosted on : @flashcombjs
โšก๏ธCredits :
@Shadab_Alam
โšก๏ธError Report :
@flashcombjschat
โšก๏ธOfficial Channel :
@flashcomofficial
๐Ÿ‘5
๐Ÿ“Œ Talk to Admin BJ'S Code: PRO โ“
๐Ÿ“ƒ With this code user can Talk to you easy.

๐Ÿš€ Command : /You own command Eg- /support

๐Ÿ›  BJS Code :
Api.sendMessage({
text: "๐Ÿ‘‹. Hello, You can contact us directly",
parse_mode: "Markdown",
on_result: "/onsend",
reply_markup: {
force_reply: true,
input_field_placeholder: "What can I help you"//you can change
}
})


๐Ÿš€ Command :- /onsend
โ™ป๏ธ wait for message: Onโœ…
๐Ÿ›  Bjs Code :
var button = [
[
{
text: "Reply: " + user.first_name + "",
callback_data: "/reply " + user.telegramid + ""
}
]
]
Bot.sendMessage("*Received:* waiting for feedback.")
if (message) {
try {
Api.sendMessage({
chat_id: 6904325128,
//replace it with your own id
text: `๐Ÿ”” New Message ( info )\n\n${message} `,
parse_mode: "html",
reply_markup: { inline_keyboard: button }
})
} catch (error) {
console.log("Error sending message:", error)
}
}

๐Ÿ”ฅThe following is Admin Command.

๐Ÿš€ Command: /reply

๐Ÿ› ๏ธ BJ'S Code:
if (!params) {
Bot.sendMessage("*Params:* Empty")
return
}
var id = params
Bot.setProp("userid", id)
Api.sendMessage({
text: `Send text to ${id}`,
parse_mode: "Markdown",
on_result: "/Sendto",
reply_markup: {
force_reply: true,
input_field_placeholder: "Enter your message!"
}
})

๐Ÿš€ Command: /Sendto
โ™ป๏ธ wait for message: Onโœ…
๐Ÿ›  Bjs Code :


var tgid = Bot.getProperty("userid")
if (tgid == undefined) {
Bot.sendMessage("User ID is undefined")
return
}
var msg = data.message
if (user.telegramid == 6904325128) {
//replace it with your own id
Api.sendMessage({
chat_id: tgid,
text: `<b>๐Ÿ“ฉNew message</>\n\n${msg}`,
parse_mode: "html",
disable_web_page_preview: true
})
Bot.sendMessage(`<b>๐Ÿฅ‚ Done:</> message send to ${tgid}`, {
parse_mode: "html"
})
Bot.setProperty("userid", [], "json") // Set an empty array as the value for "userid" property
return
}
Bot.sendMessage("*โš ๏ธAccess declared* ")
//code by @mrX605Tz

โšก๏ธPosted on : @flashcombjs
โšก๏ธCode Credits :
@mrx605Tz
โšกApi Credit :
@Nepcoder
โšก๏ธError Report :
@flashcombjschat
โšก๏ธ Official Channel :
@flashcomofficial


#BjsCode
๐Ÿ‘12
Forwarded from GetMart Official Channel (FlashCom)
โšก๏ธ Introducing FlashCom Off-Topic Group

โœค This group is made where You can chat off topics including where you can post your ads in this group, chat with your friends or other users, other topics and even more.

โœค You can join the group by clicking the below join button
๐Ÿ“Œ Advance Language Setting BJS Codeโ“

๐Ÿ“œ
This is an advance language setting code where to display languages which has been selected.

๐Ÿš€ Command :
๐Ÿ‡บ๐Ÿ‡ธ Language

๐Ÿ›  BJS Code :
 const inlkey = [
[
{ text: "๐Ÿ‡บ๐Ÿ‡ธ English", callback_data: "/Set_lang EN" },
{ text: "๐Ÿ‡ช๐Ÿ‡ธ Espaรฑol", callback_data: "/Set_lang ES" }
]
]
const text =
"*๐Ÿ‡บ๐Ÿ‡ธ Select The Language Of Your Preference.\n๐Ÿ‡ช๐Ÿ‡ธ Seleccione El Idioma De Su Preferencia.*"
Api.sendMessage({
text,
parse_mode: "Markdown",
reply_markup: { inline_keyboard: inlkey }
})


๐Ÿš€ Command : /Set_lang

๐Ÿ›  BJS Code :
let msg_id = User.getProperty("Settings_Msg_ID")
let Data = params.split(" ")
let Set_Lenguage = Data[0]

if (Set_Lenguage.includes("EN")) {
User.setProperty("Lenguage", "EN", "string")
var Text = "*๐Ÿ‡บ๐Ÿ‡ธ Language Set To English.*"
}
if (Set_Lenguage.includes("ES")) {
User.setProperty("Lenguage", "ES", "string")
var Text = "*๐Ÿ‡ช๐Ÿ‡ธ Idioma Configurado En Espaรฑol.*"
}
Api.sendMessage({ text: Text, parse_mode: "Markdown" })


๐Ÿš€ Command : Anything

๐Ÿ›  Setup BJS Code :
//Add This On First Every Code English as default language

if(User.getProperty("Lenguage")=="EN"){ //if language is EN

// Your Code
}

if(User.getProperty("Lenguage")=="ES"){ //if language is ES

//Your Translated Code
}


๐Ÿ›  Example BJS Code :
if(User.getProperty("Lenguage")=="ES"){

Api.sendMessage({ text: "Esto es espaรฑol", parse_mode: "Markdown" })
}

if(User.getProperty("Lenguage")=="EN"){

Api.sendMessage({ text: "This is English", parse_mode: "Markdown" })
}


โšก๏ธPosted on : @FlashComBjs
โšก๏ธCredits :
@CoderUnknownCredits
โšก๏ธError Report :
@FlashComBjsChat
โšก๏ธOfficial Channel :
@FlashComOfficial

#BjsCode
๐Ÿ‘4
โญ๏ธ Install these bots for free by clicking the install bot text link

1. Admin Panel Bot
https://t.me/GetMartBot?start=1084814

2. Auto Logo Generator Bot
https://t.me/GetMartBot?start=1084810

3. Bulk Poster Bot
https://t.me/GetMartBot?start=1084801

4. Bb Games Bot
https://t.me/GetMartBot?start=1154694

5. Click Bee Bot
https://t.me/GetMartBot?start=1084821

6. Chat Bot
https://t.me/GetMartBot?start=1084793

7. Join and Left Cleaner Bot
https://t.me/GetMartBot?start=1084804

8. Emoji Captcha Bot
https://t.me/GetMartBot?start=1084808

9. Ip Information Bot
https://t.me/GetMartBot?start=1084820

10. File Storing Bot
https://t.me/GetMartBot?start=1084794

11. Faucet Pay Bot (DGB)
https://t.me/GetMartBot?start=1154690

12. Global Seller Bot
https://t.me/GetMartBot?start=1084812

13. Group Welcome Bot
https://t.me/GetMartBot?start=1084805

14. Group Controller Bot
https://t.me/GetMartBot?start=1154689

15. Ip Verify Bot
https://t.me/GetMartBot?start=1084826

โžซ Install more bots via @GetMartBot
๐Ÿ‘8
Forwarded from GetMart Official Channel (FlashCom)
๐Ÿซก Here's wishing you and your family, peace, harmony, happiness, good health and prosperity on the auspicious occasion of Eid. Eid al-Adha Mubarak to you and everyone at home

Sorry for late wishes ๐Ÿ˜ฃ
๐Ÿ‘8
Again Active Guyzzzz

Tell In Comment Which Code Need
๐Ÿ‘2
๐Ÿ“Œ How To Delete Channel Message By Bot With Post Link BJS Codeโ“

๐Ÿ“œ
You can delete the channel post which the bot is admins with the rights of deleting messages you can delete a message by sending it's post link.

How to setup the bot in channel ?
1. Add the bot to channel as admin.
2. Give permission to delete messages.
3. Done.

How to get post link of channel post ?
1. Go to your channel
2. Click the post
3. Click copy link
4.Then the link will be copied to your clipboard.
5. Done.

๐Ÿš€ Command :
/delete

โณWait for answer : โœ… On

๐Ÿ“„ Answer : Send the post link of the channel which this bot is admin.

๐Ÿ›  BJS Code :
var button = [
    [{title: "Delete", command: "/confirmdelete "+message}]]
Bot.sendInlineKeyboard(button,"Are you sure to delete: "+message)


๐Ÿš€ Command : /confirmdelete

๐Ÿ›  BJS Code :
const input=params;
const regex=/https:\/\/t\.me\/([^\/]+)\/([^\/]+)/;
const match=input.match(regex);
if(match){
const chatName=match[1];
const chatId=match[2];
Api.deleteMessage({chat_id:"@"+chatName,message_id:chatId});
Api.editMessageText({message_id:request.message.message_id,text:"The post has been deleted."})
}else{
Api.editMessageText({message_id:request.message.message_id,text:"Failed to delete the post."})
}


โšก๏ธPosted on : @FlashComBjs
โšก๏ธCredits :
@PbcAdmin
โšก๏ธError Report :
@FlashComBjsChat
โšก๏ธOfficial Channel :
@FlashComOfficial


#BjsCode
๐Ÿ‘5โšก1๐Ÿ”ฅ1๐Ÿค1
๐Ÿ“Œ Send message to a bot user by telegram id  with #copyMessage method BJS Code.โ“

๐Ÿ“œ
You can send a message to a user using copyMessage method which helps you in sending messages to a user of your bot with their telegram id using the bot

๐Ÿš€ Command :
/sendMessage

โณ Wait for answer : โœ… On

๐Ÿ“„ Answer : Enter the telegram ID of the user.

๐Ÿ›  BJS Code :
Bot.runCommand("/sendMessage2",{ID:message});


๐Ÿš€ Command : /sendMessage2

โณ Wait for answer : โœ… On

๐Ÿ“„ Answer : Enter your message for the user.

๐Ÿ›  BJS Code :
Api.copyMessage({
chat_id: options.ID,
from_chat_id: user.telegramid,
message_id: request.message_id,
})
Bot.sendMessage("Message sent to user.");


โšก๏ธPosted on : @FlashComBjs
โšก๏ธCredits :
@PbcAdmin
โšก๏ธError Report :
@FlashComBjsChat
โšก๏ธOfficial Channel :
@FlashComOfficial


#BjsCode
๐Ÿ‘6
๐Ÿ“Œ Chat GPT 4 API BJS Code.โ“

๐Ÿ“œ
You can create your own API ai bjs bot with this code.

๐Ÿš€ Command :
/ai

โณ Wait for answer : โœ… On

๐Ÿ“„ Answer : How can I assist you today? If you have any questions or need help with something, feel free to ask!

๐Ÿ›  BJS Code :
Api.sendChatAction({
  chat_id: chat.chatid,
  action: "typing"
})
Api.sendChatAction({
  chat_id: chat.chatid,
  action: "typing"
})

HTTP.get({ url:"https://gpt.hazex.workers.dev/?ques="+encodeURIComponent(message) +"",
  success: "/success"
})


๐Ÿš€ Command : /success

โณ Wait for answer : โŒ Off

๐Ÿ›  BJS Code :
var answer = JSON.parse(content).answer; 
var error = JSON.parse(content).error;
if (answer) {
    Bot.sendMessage(answer);
} else if ((error) == true){
    Bot.sendMessage("There is an error.");
}


โšก๏ธPosted on : @FlashComBjs
โšกAPI Credits : @HazexAPI
โšก๏ธError Report :
@FlashComBjsChat
โšก๏ธOfficial Channel :
@FlashComOfficial

ยฉ๏ธ This codes contents is modified and the API is switched by FlashCom you have no rights on changing the API Creditor and this Copyright Notice.

#BjsCode
๐Ÿ”ฅ5๐Ÿ‘2
๐Ÿ“Œ 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

#BjsCode
๐Ÿ†6๐Ÿ‘2๐Ÿ‘Ž2
๐Ÿ“Œ Advance Broadcast BJS Code ( 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
๐Ÿ‘5
๐Ÿ“Œ 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
Do you want multiple files share bot for free in BB ?
100 reaction required Demo @FX_storebot

๐Ÿ”ฅCreator: @mrX605Tz
๐Ÿ”ฅTo be Post On:
FlashCom
๐Ÿ‘9โšก5๐Ÿ”ฅ3๐Ÿ‘Œ2
Happy Friendship Day ๐ŸŽˆ๐ŸŽ๐ŸŽ‰
๐Ÿ‘3๐Ÿค3๐Ÿ”ฅ1