FlashCom - BJS Codes / Bots
882 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
๐Ÿ“Œ Membership checker through HTTP method Bjsโ“

๐Ÿ“œ
This code allows to check whether user is a member of your chat and if they are then they can proceed to command or bot will ask to join channel if they run that specific command

Libraries Needed
-- Membership checker lib

๐Ÿš€ Command : /start

๐Ÿ›  BJS Code :
var channel = "@flashcombjs //replace your channel username"
HTTP.get({
    url: "https://api.telegram.org/bot"+bot. token+"/getChatMember?chat_id="+channel+"&user_id="+user.telegramid+"",
    success: "/check"})


๐Ÿš€ Command : /check

๐Ÿ›  BJS Code :
var info = JSON.parse(content)
var status = info.result.status
if ((status == "member") | (status == "administrator") | (status == "creator")) {
  Bot.runCommand("/command")
}
if (status == "left") {
  Bot.sendMessage("Must join channel") // your force join massage
}


โšก๏ธPosted on : @flashcombjs
โšก๏ธCredits :
@CodeUnknownCredits
โšก๏ธError Report :
@flashcombjschat
โšก๏ธ Official Channel :
@flashcomofficial
๐Ÿ‘2
๐Ÿ“Œ IP verification Checker ( API ) Bjsโ“

๐Ÿ“œ
This code allows you to prevent users using VPN and multiple accounts in your bot. Only one account can be used.

Libraries Needed
--  Webhooks

๐Ÿš€ Command : /start

๐Ÿ›  BJS Code :
var verify = User.getProperty("verify")
if(verify){
Bot.runCommand("/start2")
return}

var url2 = Libs.Webhooks.getUrlFor({
command: "onWebhook",
user_id: user.id
})

var webPage = "https://api.jobians.top/captcha/verify?webhookUrl=" + encodeURIComponent(url2)

Bot.sendMessage("โ„น๏ธ [Please Verify Yourself By Clicking This Link\nโš ๏ธ Don't Use VPN]("+webPage+")",{ disable_web_page_preview: true })


๐Ÿš€ Command : onWebhook

๐Ÿ›  BJS Code :
if (!content) {
return
}
var data = JSON.parse(content)
var ip = data.results.ip.split(".").slice(0,3).join(".")
var captcha = data.results.captcha
var vpn = data.results.vpn

var verify = User.getProperty("verify")
if(verify){
return}

if(vpn == "yes"){
Bot.sendMessage("๐Ÿšจ You Are Ban For Using VPN!")
Bot.blockChat(chat.id);
return}

var ips = Bot.getProperty("ips", { list: {} })
if(ips.list[ip]){
Bot.sendMessage("โŒ You Have Been Banned For Using Multiple Account");
Bot.blockChat(chat.id);
return
}

if(captcha == "ok"){
var ips = Bot.getProperty("ips", { list: {} });
ips.list[ip] = true;
Bot.setProperty("ips", ips, "json");
Bot.sendMessage("โœ… You Are Verified Now");
User.setProperty("verify","ok","string")
Bot.runCommand("/start2")
}

โšก๏ธ
Posted on : @flashcombjs
โšก๏ธCredits :
@CodeUnknownCredits
โšก๏ธError Report :
@flashcombjschat
โšก๏ธ Official Channel :
@flashcomofficial
๐Ÿ‘2
๐Ÿ“Œ Repeat Force Join Channel In Bot To Use Botโ“

๐Ÿ“œ
This code force users to join channel to use your bot.

๐Ÿš€ Command : /start

๐Ÿ›  BJS Code :
var userStat = User.getProperty("userStatus")

if (!userStat | (userStat == "left")) {
// if user starts the bot or leave channel then show join msg
Api.sendMessage({
text:
"<b>โ›”๏ธ Must Join to our Channel</b>\n\nโžก๏ธ @your_channel_username\n\nโœ… <b>After Joining, Click on ๐ŸŸข Joined</b>",
parse_mode: "html",
disable_web_page_preview: true,
reply_markup: {
inline_keyboard: [[{ text: "๐ŸŸข Joined", callback_data: "/check" }]]
}
})
return
} else if (
(userStat == "member") |
(userStat == "administrator") |
(userStat == "creator")
) {
//if user is in the channel and runs /start it will take to welcome page
Bot.runCommand("/check")
}


๐Ÿš€ Command : /check

๐Ÿ›  BJS Code :
let channel = your_channel_chat_id
let id = user.telegramid
Api.getChatMember({
chat_id : -channel,
user_id : id,
on_result :"/check1"
})


๐Ÿš€ Command : /check1

๐Ÿ›  BJS Code :
var user = options.result.status
if ((user == "member") | (user == "administrator") | (user == "creator")) {
User.setProperty("userStatus", user, "string")
Bot.runCommand("/menu")
}

if (user == "left") {
if(request.data){
var message_id = request.message.message_id
var chat_id = request.message.chat.id

Api.deleteMessage({
chat_id : chat_id,
message_id : message_id
})
}
User.setProperty("userStatus", "left", "string")
Api.sendMessage({
text:
"<b>โ›”๏ธ Must Join to our Channel</b>\n\nโžก๏ธ @your_channel_username\n\nโœ… <b>After Joining, Click on ๐ŸŸข Joined</b>",
parse_mode: "html",
disable_web_page_preview: true,
reply_markup: {
inline_keyboard: [[{ text: "๐ŸŸข Joined", callback_data: "/check" }]]
}
})
}


๐Ÿš€ Command : /menu

๐Ÿ›  BJS Code :
if(request.data){
var message_id = request.message.message_id
var chat_id = request.message.chat.id

Api.deleteMessage({
chat_id : chat_id,
message_id : message_id
})
var userStat = User.getProperty("userStatus")

if (!userStat | (userStat == "left")) {
Bot.runCommand("/start")
return
} else if (
(userStat == "member") |
(userStat == "administrator") |
(userStat == "creator")
) {
}
var buttons = [
{title: "Go to Google", url: "https://google.com"},
{title: "Call command for Button1", command: "/touch Button1" },
{title: "Call command for Button2", command: "/touch Button2" }
];

Bot.sendInlineKeyboard(buttons, "Welcome to homepage.");
}


How to make users use other commands if they are only member of the channel โ“

-- Try adding the below codes to your other commands with reading to // mentioned in the code.

if(request.data){
var message_id = request.message.message_id
var chat_id = request.message.chat.id

Api.deleteMessage({
chat_id : chat_id,
message_id : message_id
})
var userStat = User.getProperty("userStatus")

if (!userStat | (userStat == "left")) {
//your code if user is not member of your channel or if user left.
//Bot.RunCommand("/start"); //recommended
return
} else if (
(userStat == "member") |
(userStat == "administrator") |
(userStat == "creator")
) {
}

//your code if user is member of your channel
//Bot.sendMessage("You are member of the channel")

}


โœ… Libs Required
-- Membership Checker

โšก๏ธPosted on : @flashcombjs
โšก๏ธCredits :
@CodeUnknownCredits
โšก๏ธError Report :
@flashcombjschat
โšก๏ธOfficial Channel :
@flashcomofficial
๐Ÿ‘7
๐Ÿ“Œ Multiple randomly channel membership checker. โ“

๐Ÿ“œ By using this code you can check the randomly channels membership.

๐Ÿš€ Command : /start

๐Ÿ›  BJS Code :
let channelsArr = [
{ username: "@manuvamovies", link: "https://t.me/manuvamovies" },
{ username: "@manuvaseries", link: "https://t.me/manuvaseries" },
{ username: "@manuvamuvi", link: "https://t.me/manuvamuvi" },
{ username: "@manuvasizoni", link: "https://t.me/manuvasizoni" },
{ username: "@manuvamovie18", link: "https://t.me/manuvamovie18" },
{ username: "@manuvamoviestore", link: "https://t.me/manuvamoviestore" }
]; //list all your channel groups here

var randomIndex = Libs.Random.randomInt(0, 6); //replace with the number of channels in the list above

var gett = channelsArr[randomIndex];
let channel = gett.username;
let chlnlink = gett.link;
let userid = user.telegramid;

if ( !params ) {
User.setProp("links", chlnlink);
User.setProp("channel", channel);
Api.getChatMember({
chat_id: channel,
user_id: userid,
on_result: "/isjoined"
});
return;
}


๐Ÿš€ Command :- /isjoined

๐Ÿ›  BJ'S :-
var links = User.getProp("links") //get links saved in first command 
var channel = User.getProp("channel")//get channel username saved in first command

let status = options.result.status

var txt =
"Kama wewe ni mteja wetu ni lazima ujiunge na channel yetu ya " +
channel +
" Ili kuweza kupata movies/series/Animation Zetu.\n\nKumbuka Endapo Huto jiunga basi huto weza tumia bot wetu. Ukisha maliza kujiunga bofya hapa /start\n\nLink:-\n" +
links +
"\n" +
links +
"\n" +
links +
"" //replace your text warn user if isn't join to your channel

var isJoined =
status == "member" || status == "administrator" || status == "creator"

if (isJoined) {
Bot.runCommand("/mainf") //Your next command here
} else {
if (request.data && !isJoined) {
Api.answerCallbackQuery({
callback_query_id: request.id,
text: "โŒ Jiunge na channel ya " + channel + " ", //replace a alert text if is requested data
show_alert: false
})
Api.editMessageText({
chat_id: request.message.chat.id,
message_id: request.message.message_id,
text: txt,
parse_mode: "Markdown",
disable_web_page_preview: true
//reply_markup: { inline_keyboard: but }
})
}
if (!isJoined && !request.data) {
Api.sendMessage({
text: txt,
parse_mode: "Markdown",
disable_web_page_preview: true
//reply_markup: { inline_keyboard: but }
})
}
}

โšก๏ธPosted on : @flashcombjs
โšก๏ธCredits : @mrx605Tz
โšก๏ธError Report : @flashcombjschat
โšก๏ธ Official Channel : @flashcomofficial
๐Ÿ‘1
๐Ÿ“Œ Powerful Webhook Broadcast BJS Codeโ“

๐Ÿ“œ This is an powerful webhook broadcast code which can broadcast upto 3k users

Put the below BJS code at top of the /start command

๐Ÿ›  BJS Code :
var us = Bot.getProperty("broadcasting", { list: {} })
if (!us.list[user.telegramid]) {
us.list[user.telegramid] = { user_id: user.id, user_tg: user.telegramid }
Bot.setProperty("broadcasting", us, "json")
}


The Above ๐Ÿ‘†BJS Code Must be On the /start Command to Make the Broadcast to Work

๐Ÿš€ Command : /broadcast

โŒ›๏ธ Wait for answer : โœ…

๐Ÿ“ƒ Answer : Enter your message to broadcast

๐Ÿ›  BJS Code :
if (request.video) {
var us = Bot.getProperty("broadcasting", { list: {} })
var msg = message
for (var i in us.list) {
var ase = us.list[i].user_id
var id = us.list[i].user_tg

var url = Libs.Webhooks.getUrlFor({
command: "/go1y2",
user_id: ase
})
HTTP.post({
url: url,
body: {
msg: msg,
captions: request.caption,
video: request.video.file_id,
id: id
}
})
}

return
}

if (request.photo[0]) {

var key = Bot.getProperty("admin_chat")

var us = Bot.getProperty("broadcasting", { list: {} })
var msg = message
for (var i in us.list) {
var ase = us.list[i].user_id
var id = us.list[i].user_tg

var url = Libs.Webhooks.getUrlFor({
command: "/go1y2",
user_id: ase
})
HTTP.post({
url: url,
body: {
msg: msg,
caption: request.caption,
image: request.photo[0].file_id,
id: id
}
})
}
return}

var key = Bot.getProperty("admin_chat")

var us = Bot.getProperty("broadcasting", { list: {} })
var msg = message
for (var i in us.list) {
var ase = us.list[i].user_id
var url = Libs.Webhooks.getUrlFor({
command: "/go1y2",
user_id: ase
})
HTTP.post({
url: url,
body: {
ktp: msg
}
})
}


๐Ÿš€ Command : /go1y2

๐Ÿ›  BJS Code :
var data = JSON.parse(content)
var c = data.caption
var vc = data.captions

var video = data.video
var image = data.image
var id = data.id
var msg = data.msg
if (vc) {
  Api.sendVideo({ chat_id: id, video: video })
}
if (video) {
  Api.sendVideo({
    chat_id: id,
    video: video,
    caption: vc,
    parse_mode: "HTML"
  })

  return
}
if (c) {
  Api.sendPhoto({
    chat_id: data.id,
    photo: data.image,
    caption: c,
    parse_mode: "HTML"
  })
  return
}

if (image) {
  Api.sendPhoto({ chat_id: id, photo: image })

  return
}

Bot.sendMessage(data.ktp)


โœ… Libs Required
-- Webhook

โšก๏ธPosted on : @flashcombjs
โšก๏ธCredits :
@CodeUnknownCredits
โšก๏ธError Report :
@flashcombjschat
โšก๏ธOfficial Channel :
@flashcomofficial
๐Ÿ‘6
๐Ÿ“Œ Captcha verification in the bot - BJS code โ“

๐Ÿ“œ Image captcha verification for telegram bot.

๐Ÿš€ Command: /verify
var userAns = params
if(request.data){
var message_id = request.message.message_id
var chat_id = request.message.chat.id
Api.deleteMessage({
chat_id :  chat_id,
message_id : message_id
})
}
if(!params){
return
}else{
let ans = User.getProperty('captcha')

if(userAns==ans){
Api.answerCallbackQuery({
  callback_query_id: request.id,
  text: "That's correct ! Now you can use the bot.",
  show_alert: true
})
User.setProperty("verified", true, "boolean")
User.setProperty("captcha", null, "string");
}else{
Api.answerCallbackQuery({
  callback_query_id: request.id,
  text: "That's Wrong !",
  show_alert: true
})
}
}

๐Ÿš€ Command: @
function randomString(len){
return Math.random().toString(20).substr(2, len)
}
function rndFloat(min, max){
  return (Math.random() * (max - min + 1)) + min
}

function rndInt(min, max){
  return Math.floor(rndFloat(min, max))
}

if(command.name!="/verify"){
var status =User.getProperty('verified');
if(!status){
var captchaCodes=[]
for(let i=0;i<4;i++){
captchaCodes.push(randomString(6))
}
var index = rndInt(0,3)
User.setProperty('captcha',captchaCodes[index],'string')

Api.sendPhoto({photo:"https://dummyimage.com/400x100/fff/000.jpg&text="+captchaCodes[index],caption:"_*Solve the captcha first :*_",
parse_mode:"markdownv2",
reply_markup: { inline_keyboard: [
    [
      { text: captchaCodes[0], callback_data: "/verify "+captchaCodes[0] },
      { text: captchaCodes[1], callback_data: "/verify "+captchaCodes[1] }
    ],
    [
       { text: captchaCodes[2], callback_data: "/verify "+captchaCodes[2] },{ text: captchaCodes[3], callback_data: "/verify "+captchaCodes[3] }
    ]
  ]}
})
return
}
}


๐Ÿ“น Video Tutorial: https://youtu.be/xZ_4jIQ4qbg?si=l6uioSNT4BqJuG6O

โšก๏ธPosted on : @flashcombjs
โšก๏ธCredits :
@sarozpaudel
โšก๏ธError Report :
@flashcombjschat
โšก๏ธOfficial Channel :
@flashcomofficial
๐Ÿ‘5
๐Ÿ“Œ Terabox video stream link generator bot - BJS Codeโ“

๐Ÿš€ Command: /download
๐Ÿ“ƒ Answer: Send your terabox link to get it's download link.
โŒ›๏ธ Wait for answer : โœ…
var array=["https://www.terabox.com/s/1","https://teraboxapp.com/s/1","https://www.1024tera.com/s/1","https://nephobox.com/s/1","https://www.terabox.app/s/1","https://momerybox.com/s/1","https://terabox.com/s/1"];

var sI=null
for (let i = 0; i < array.length; i++) {
  if ((message).startsWith(array[i])) {
    sI = i;
    break;
  }
}
var shrt
if(sI !=null){
shrt=(message).replace(array[sI],'')
}else{
Bot.sendMessage("Not Valid Url !")
return
}

Api.sendMessage({text:"<b><i>Watch Online โšก :</i></b>\nhttps://www.terabox.com/sharing/embed?autoplay=true&resolution=1080&mute=false&surl="+shrt,parse_mode:'html'})


โšก๏ธPosted on : @flashcombjs
โšก๏ธCredits : @sarozpaudel
โšก๏ธError Report : @flashcombjschat
โšก๏ธOfficial Channel : @flashcomofficial
๐Ÿ‘5๐Ÿ‘Ž4
๐Ÿ“Œ Iterations check with progress bar - BJS codeโ“

๐Ÿš€ Command: /check
var percentage = ((iteration_quota.progress / iteration_quota.limit) * 100).toFixed(2);
var totalChar = 25;
var occupied = "";
var begin = "[ ";
var end = " ] ";
for (let i = 0; i < percentage / 4; i++) {
  occupied += "โ–ˆ";
}
var blank = "";
if (occupied.length < totalChar) {
  let remaining = totalChar - occupied.length;
  for (let j = 1; j <= remaining; j++) {
    blank += "โ–‘";
  }
}

var all = begin + occupied + blank + end;
Bot.sendMessage("Total Iterations : " + iteration_quota.limit + "\nUsed: " + iteration_quota.progress + " (" + percentage + "%) " + all, { parse_mode: "html" });


โšก๏ธPosted on : @flashcombjs
โšก๏ธCredits : @sarozpaudel
โšก๏ธError Report : @flashcombjschat
โšก๏ธOfficial Channel : @flashcomofficial
๐Ÿ‘6
๐Ÿ“Œ 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