๐ Translate text in Bot - BJS codeโ
๐ Command:
๐ Answer:
โ๏ธ Wait for answer : โ
๐ Command:
๐ Command:
โข Replace your API key. Get API key from rapidapi.com
โก๏ธPosted on : @flashcombjs
โก๏ธCredits : @sarozpaudel
โก๏ธError Report : @flashcombjschat
โก๏ธOfficial Channel : @flashcomofficial
๐ 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:
/trHTTP.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:
/onTranslationResultvar 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 :
๐ BJS Code :
๐ Command :
๐ BJS Code :
โก๏ธCredits : @CodeUnknownCredits
โก๏ธError Report : @flashcombjschat
โก๏ธOfficial Channel : @flashcomofficial
๐ 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:
wait for Answer: Onโ
๐ Command :
๐ BJS Code :
๐ Command :-
๐ Bjs Code :
โก๏ธPosted on : @flashcombjs
โก๏ธCode Credits : @mrx605Tz
โกApi Credit : @Nepcoder
โก๏ธError Report : @flashcombjschat
โก๏ธ Official Channel : @flashcomofficial
๐ธ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
-- 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 :
๐ฉ Flag Ad
#ADS
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 :
๐ฉ Flag Ad
#ADS
๐ฎ๐ณ 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 :
๐ ๏ธ BJS Code :
๐ Command 01 :
๐ ๏ธ BJS Code 01 :
๐ Note : ๐๐ป Add It In Last Of Auto Command
โก๏ธPosted on : @flashcombjs
โก๏ธCredits : @Shadab_Alam
โก๏ธError Report : @flashcombjschat
โก๏ธOfficial Channel : @flashcomofficial
๐ 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 :
๐ Command :-
โป๏ธ wait for message: Onโ
๐ Bjs Code :
๐ฅThe following is Admin Command.
๐ Command: /reply
๐ ๏ธ BJ'S Code:
๐ Command:
โป๏ธ wait for message: Onโ
๐ Bjs Code :
โก๏ธPosted on : @flashcombjs
โก๏ธCode Credits : @mrx605Tz
โกApi Credit : @Nepcoder
โก๏ธError Report : @flashcombjschat
โก๏ธ Official Channel : @flashcomofficial
#BjsCode
๐ 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
โค 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 :
๐ BJS Code :
๐ Command :
๐ BJS Code :
๐ Command :
๐ Setup BJS Code :
๐ Example BJS Code :
โก๏ธPosted on : @FlashComBjs
โก๏ธCredits : @CoderUnknownCredits
โก๏ธError Report : @FlashComBjsChat
โก๏ธOfficial Channel : @FlashComOfficial
#BjsCode
๐ 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
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 ๐ฃ
Sorry for late wishes ๐ฃ
๐8
Again Active Guyzzzz
Tell In Comment Which Code Need
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 :
โณWait for answer : โ On
๐ Answer :
๐ BJS Code :
๐ Command :
๐ BJS Code :
โก๏ธPosted on : @FlashComBjs
โก๏ธCredits : @PbcAdmin
โก๏ธError Report : @FlashComBjsChat
โก๏ธOfficial Channel : @FlashComOfficial
#BjsCode
๐ 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
๐ Command :
โณ Wait for answer : โ On
๐ Answer :
๐ BJS Code :
๐ Command :
โณ Wait for answer : โ On
๐ Answer :
๐ BJS Code :
โก๏ธPosted on : @FlashComBjs
โก๏ธCredits : @PbcAdmin
โก๏ธError Report : @FlashComBjsChat
โก๏ธOfficial Channel : @FlashComOfficial
#BjsCode
๐ 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 :
โณ Wait for answer : โ On
๐ Answer :
๐ BJS Code :
๐ Command :
โณ Wait for answer : โ Off
๐ BJS Code :
โก๏ธ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
๐ 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 :
โณ Wait for answer : โ Off
๐ BJS Code :
๐ Command :
โณ Wait for answer : โ Off
๐ BJS Code :
โก๏ธPosted on : @FlashComBjs
โกCode Credits : @CodeUnknownCredits
โก๏ธError Report : @FlashComBjsChat
โก๏ธOfficial Channel : @FlashComOfficial
#BjsCode
๐ 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 :
๐ Command :-
๐ธAnswer:
wait for Answer: Onโ
๐ Bjs Code :
โก๏ธPosted on : @flashcombjs
โก๏ธCode Credits : @mrx605Tz
โก๏ธError Report : @flashcombjschat
โก๏ธ Official Channel : @flashcomofficial
๐ 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 :
๐ Answer :
โณ Wait for answer : โ On
๐ Command :
โก๏ธPosted on : @FlashComBjs
โก๏ธCredits : @PbcAdmin
โก๏ธError Report : @FlashComBjsChat
โก๏ธOfficial Channel : @FlashComOfficial
#BjsCode
๐ 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 :
/successvar 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
100 reaction required Demo @FX_storebot
๐ฅCreator: @mrX605Tz
๐ฅTo be Post On: FlashCom
๐9โก5๐ฅ3๐2
Happy Friendship Day ๐๐๐
๐3๐ค3๐ฅ1