FlashCom - BJS Codes / Bots
881 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
๐Ÿ“Œ Text to Telegraph (BJS).โ“

๐Ÿš€ Command : /tele

Wait for answer : โœ”๏ธ

๐Ÿ“œ Answer*๐Ÿงฟ Enter a text to Upload on telegraph!*

๐Ÿ› ๏ธ BJS Code :
if (!content) {
  //Made By @flashcombjs
  var url =
    "https://api.telegra.ph/createPage?access_token=39290dea4e906e932a0ed05dba7d03c73c2a02e5d856b34b1c1455adb3e6&title=Created+by+@" +
    bot.name +
    "&author_name=@" +
    user.username +
    "&content=[%7B%22tag%22:%22p%22,%22children%22:[%22" +
    encodeURIComponent(message) +
    "%22]%7D]&return_content=true"
  //Made By @flashcombjs
  HTTP.get({ url: url, success: "/tele" })
  return
}
//Made By @flashcombjs
let link = JSON.parse(content).result.url
Bot.sendMessage(link)
//Made By @flashcombjs
โšก๏ธPosted on : @flashcombjs
โšก๏ธPosted by :
@CoderSwastik
โšก๏ธCredits :
@Swastik_Raj
โšก๏ธError Report :
@flashcomofficialchat
โšก๏ธ Official Channel :
@flashcomofficial

๐Ÿ”ด Flag Post
Should we open Bjs Bot Store ?
Anonymous Poll
92%
Yes โœ”๏ธ
8%
No โŒ
FlashCom - BJS Codes / Bots
Should we open Bjs Bot Store ?
This will also contain codes store
โค3
๐Ÿ“Œ Rain Bjs Codeโ“

๐Ÿš€ Command : /rain

Wait for answer : โŒ

๐Ÿ“œ Answer

๐Ÿ› ๏ธ BJS Code :
if (chat.chat_type != "private") {
function find() {
Bot.sendMessage(
"*๐Ÿ˜… Incorrect Format use*\n\n[/rain] [Amount] [No. Of Users]",
{
is_reply: true
}
)
}

try {
if (!params) {
}
let receive = params.split(" ")
var amo = receive[0]
var newamo = amo * 1
var clus = receive[1]
var totalamo = newamo * clus
var cur = Bot.getProperty("cur")
} catch (err) {
find()
return
}
if (newamo < 1) {
return
}
if (amo.includes("-")) {
return
}
if (amo.includes("+")) {
return
}
if (amo.includes("รƒโ€”")) {
return
}
if (amo.includes("รƒยท")) {
return
}
if (amo.includes(".")) {
return
}
function isNumeric(n) {
return !isNaN(parseFloat(n)) && isFinite(n)
}

if (!isNumeric(amo)) {
return
}

if (!isNumeric(clus)) {
return
}
if (clus >= 1 && clus <= 50) {
let res = Libs.ResourcesLib.userRes("balance")
var adm = Bot.getProperty("adminID")
if (res.value() < totalamo) {
Bot.sendMessage(
"* Insufficient Balance!*_ Need atleast " +
totalamo +
" " +
cur +
"_\n\n* Your Balance:*_ " +
res.value() +
" " +
cur +
"_",
{ is_reply: true }
)
return
}
var rrid = generateCaptchaText(4)
var rn = Libs.Random.randomInt(0, 999999)
var rr = rrid + "" + user.id + "" + rn
if (!user.username) {
var usern =
"<a href='tg://user?id=" +
chat.chatid +
" '>" +
user.first_name +
"</a>"
} else {
var usern = "@" + user.username
}
var st = { total_user: clus, per_mem: newamo, rain_creator: usern }
Bot.setProperty(rr, st)
Api.deleteMessage({ message_id: request.message_id })
var usn = "<a href='tg://user?id=" + user.telegramid + " '>Your</a>"
Api.sendMessage({
text:
" <b>๐Ÿฅณ Hurrah!</> " +
usn +
" Rain Has Been Successfully Made. \n\n<b>Per User Amount:</> " +
newamo +
" <b>" +
cur +
"</>\n\n<b> Total Claimer:</> " +
clus +
"",
parse_mode: "html",
reply_markup: {
inline_keyboard: [
[
{
text: " Claim Rain (0/" + clus + ")",
callback_data: "/Claim_Rain " + rr
}
]
]
}
})
res.add(-totalamo)
} else {
Bot.sendMessage(
"*Oh!* Something Went Wrong.\n\nYou Can Make Rain For Minimum *1 Member* And Maximum *50 Member*",
{ is_reply: true }
)
}
}
๐Ÿ‘2
๐Ÿš€ Command : /claim_rain

Wait for answer : โŒ

๐Ÿ“œ Answer

๐Ÿ› ๏ธ BJS Code :
var rain = Bot.getProperty(params)
if (!rain) {
  Bot.sendMessage("*Invalid Rain Id*")
  return
}
var amo = rain.per_mem
var us = rain.total_user
var cr = rain.rain_creator
var balance = Libs.ResourcesLib.userRes("balance")
var cur = Bot.getProperty("cur")
var mm = request.message.message_id
if (!user.username) {
  var usern =
    "<a href='tg://user?id=" +
    user.telegramid +
    " '>" +
    user.first_name +
    "</a>"
} else {
  var usern = "@" + user.username
}
var clm = Libs.ResourcesLib.anotherChatRes("ClaimerBhai", params)
var nn = Bot.getProperty("Claim_Rain" + params)

if (clm.value() == us) {
  var txt = cr + "  <b>๐ŸŽ Your Rain Claimed All Members.</>\n\n" + nn
  Api.editMessageText({
    message_id: mm,
    text: txt,
    parse_mode: "html"
  })
} else {
  var alr = User.getProperty("Already_Claim" + params)
  if (alr == "already") {
    Api.answerCallbackQuery({
      callback_query_id: request.id,
      text: "๐Ÿ˜… You Have Already Claimed This Rain.",
      show_alert: true
    })
    return
  }
  Api.answerCallbackQuery({
    callback_query_id: request.id,
    text: "๐Ÿฅณ You Have Successfully Claimed Rain.",
    show_alert: true
  })
  clm.add(1)
  balance.add(+amo)
  Bot.editInlineKeyboard(
    [
      [
        {
          title: " Claim Rain (" + clm.value() + "/" + us + ")",
          command: "/Claim_Rain " + params
        }
      ]
    ],
    mm
  )
  if (nn == undefined || !nn) {
    var newh = "\n <b>" + clm.value() + ".</> " + usern + " "
    Bot.setProperty("Claim_Rain" + params, newh, "string")
  } else {
    var nwh = "\n <b>" + clm.value() + ".</> " + usern + " "
    var toal = nn + nwh
    Bot.setProperty("Claim_Rain" + params, toal, "string")
  }
  User.setProperty("Already_Claim" + params
โšก๏ธCredits : @CodeUnknownCredits
โšก๏ธError Report :
@flashcomofficialchat
โšก๏ธ Official Channel :
@flashcomofficial

๐Ÿ”ด Flag Post
๐Ÿ‘2
Forwarded from GetMart Official Channel (FlashCom)
๐Ÿ“ฃ INTRODUCING GETMART BOT

โœจ๏ธ This is an free bjs store bot which you can explore many bjs bots and you can install it to your bots.business account.

โœจ๏ธ Explore the best bot templates from @GetMartBot and even stay tuned for more updates @FlashComBjs.
๐Ÿ“ฃ Task For Premium Members

Please Boost Our Channel By Clicking To The Below Link In Order to Make Changes In Appearance etc...

https://t.me/flashcombjs?boost

This Will Be A Part Of Help Your Performing Towards Us!
๐Ÿ‘1
๐Ÿ“Œ Old Name Detector Bjs Codeโ“

๐Ÿš€ Command : *

๐Ÿ“ƒ Description : Detects whether the name and username has changed and immediately inform admins in the group that user has changed their name or username with the current and previous one.

Wait for answer : โŒ

๐Ÿ“œ Answer

๐Ÿ› ๏ธ BJS Code :
if (chat.chat_type !== "private") {
  var data = Bot.getProperty("data " + user.telegramid)

  if (data === undefined) {
    var currentData =
      user.first_name + "%29" + user.last_name + "%29@" + user.username
    Bot.setProperty("data " + user.telegramid, currentData, "string")
    return
  } else {
    var lastData = data.split("%29")
    var newData =
      user.first_name + "%29" + user.last_name + "%29@" + user.username

    if (data !== newData) {
      var message =
        "<b>โš ๏ธ @admin, note this! One user currently in your chat changed their details.</b>\n\n๐Ÿ“ฐ<b>Last Details:</b>\n"

      message += "- " + lastData[0] + "\n"

      message += "- " + lastData[1] + "\n"
      message += "- " + lastData[2] + "\n"

      message += "\n<b>Current Details:</b> "

      if (user.first_name) message += "\n- " + user.first_name + "\n"
      if (user.last_name) message += "- " + user.last_name + "\n"
      if (user.username) message += "- @" + user.username

      Api.sendMessage({
        chat_id: chat.chatid,
        text:
          "" +
          message +
          "\n\nใ€Š<a href='tg://user?id=" +
          user.telegramid +
          "'>Permanent Link</a>ใ€‹",
        parse_mode: "html"
      })
      Bot.setProperty("data " + user.telegramid, newData, "string")
    }
  }
}

โšก๏ธPosted by : @FlashComOwner
โšก๏ธCredits : @CodeUnknownCredits
โšก๏ธError Report :
@FlashComBjsChat
โšก๏ธOfficial Channel :
@flashcomofficial
๐ŸŽ‰ Special Giveaways - Monthly Giveaway

๐Ÿ”Š February is going to arrive next and the next giveaway will be implemented in new way. You can view the bots you will be getting in february.

๐Ÿš€ Upcoming Bots Giveaways ?


-- Ad clickers bot
-- Poll maker bot
-- Like bot
-- Post with reaction bot


๐Ÿ˜œ Stay Tuned Till You Get The Above Special Giveaways.

#MonthlyGiveawayFeb

Thanks,
FlashCom Team.
๐ŸŽ‰ Sponser Ads For Free.

๐Ÿ“ฃ
We are just happy to announce you that you can show your own ads for free in our bots or channels. As per we announced before the ads was still free but for limited time and now you can keep your ads visible for 1 month or more.

Ads can contain

- Telegram Channels, Groups and Bots.
- Youtube Channels.
- External Like Websites Etc...

๐Ÿ”ด Your ads will be published once after verification and make sure that your ads has to follow ad rules and we will strictly review the ads before publishing it.

โœ Please send a message to admin by asking to sponser your ads

Admin : @FlashComSupport
FlashCom - BJS Codes / Bots
๐ŸŽ‰ Special Giveaways - Monthly Giveaway ๐Ÿ”Š February is going to arrive next and the next giveaway will be implemented in new way. You can view the bots you will be getting in february. ๐Ÿš€ Upcoming Bots Giveaways ? -- Ad clickers bot -- Poll maker bot --โ€ฆ
๐ŸŽ‰ Claim February Giveaway Bots Now !

Description : This is an special special giveaway as per you can see the replied post in this message or click here. This giveaway will be held each month sometimes or each years etc... So now claim the giveaway by following below instructions

How to claim giveaway bots โ“

- Join @FlashComBjsChat.

- Send #Feb24Flash your_bb_email ( eg : #Feb24Flash myemail@gmail.com )

- Send the message and once done a reply message will be sent from our bot.

- Once the bot says that you have claimed all 4 bots then you have successfully claimed and if it says error please report it to us.

- Go check your provided email bb account.

- That's All.

๐Ÿ˜œ Stay tuned for more giveaways soon
๐Ÿ“Œ Spam Ban Bjs โ“

๐Ÿ“ƒ Description : Protect your bot from "spam", it will ban user if send more than 5 messages in 2 sec.

๐Ÿš€ Command : @

Wait for answer : โŒ

๐Ÿ“œ
Answer :

๐Ÿ› ๏ธ BJS Code :
var messageCount = User.getProperty("message_count") || 0;
var lastMessageTime = User.getProperty("last_message_time") || 0;
var currentTime = Date.now();

if (currentTime - lastMessageTime < 2000) {
  messageCount++;
} else {
  messageCount = 1;
}

User.setProperty("message_count", messageCount, "integer");
User.setProperty("last_message_time", currentTime, "integer");

if (messageCount > 5) {
  Bot.sendMessage("*You Are Blocked.*\n_๐Ÿ˜ŽAur kar baap ke bot me spam_")
  Bot.blockChat(chat.id);
  return
}

โšก๏ธPosted on : @FlashComBjs
โšก๏ธCredits : @coderajinkya
โšก๏ธCopyright :
@ajinkyalink
โšก๏ธError Report :
@FlashComBjsChat
โšก๏ธOfficial Channel :
@flashcomofficial
๐Ÿ‘3
๐Ÿ“Œ Chat Bot Bjs โ“

๐Ÿ“ƒ Description : It's a female chat bot bjs for entertainment purposes. Use for just fun.

๐Ÿš€ Command : *

Wait for answer : โŒ

๐Ÿ“œ
Answer :

๐Ÿ› ๏ธ BJS Code :
var model = "simulate yourself as a girl named Riya. you are riya a good talking girl with cuteness. Here now you are taking with your male boyfriend. you have to impress him with your good talking skills. And have to answer in one sentence only of 8 to 10 words only. For impress you use deep meaning words and related to love. you can use felling like love, kiss, baby, friend and many more. you can use a words or items which expresses the love activity like Bed, and many more as you now Riya. You like to use text emoji like :), :(, ;), this is text emojis and in your every message also you talk to your Boyfriend in language which he used. Ok Now Riya Your boyfriend asking you something, reply him with only one sentence maximum 8 - 10 words. Your Boyfriend Asking:"

Api.sendChatAction({
  chat_id: user.telegramid,
  action: "typing"
})
HTTP.get({
  url:
   "https://chatgpt.apinepdev.workers.dev/?question="+encodeURIComponent(model)+"%20%20" +
    encodeURIComponent(message),
  success: "/succ"
})

-
๐Ÿš€ Command : /succ

Wait for answer : โŒ

โš’ BJS code :
var data = JSON.parse(content);
var ans = data.answer;

  Api.sendChatAction({
    chat_id: user.telegramid,
    action: "typing"
  });
 
Bot.sendMessage(ans);
-
โšก๏ธPosted on : @FlashComBjs
โšก๏ธCredits : @coderajinkya
โšก๏ธCopyright :
@ajinkyalink
โšก๏ธError Report :
@FlashComBjsChat
โšก๏ธOfficial Channel:
@flashcomofficial
๐Ÿ‘4๐Ÿคฌ4
We've come here to introduce terms and of use we made

We made terms of use to prevent disclose between you and us and ensure the security level we give, copyright, data we collect and what we do with your data etc... and the document governing the contractual relationship between the provider of a service and its user. Every single channels / groups made by FlashCom you join and using of our bots which you agree to terms of use.

Read Terms and Conditions By The Below Link
http://flashcom.alwaysdata.net/terms-of-use
๐Ÿ‘2๐Ÿคฌ2๐Ÿ”ฅ1
Need email verification Bjs Code ?
Anonymous Poll
81%
Yes ๐Ÿ˜€
19%
No ๐Ÿ™…
๐Ÿคฌ3๐Ÿ‘1
FlashCom - BJS Codes / Bots
Need email verification Bjs Code ?
โœ… Working Email Verification Code Since It Was Tested.
๐Ÿ‘2๐Ÿคฌ2
๐Ÿ“Œ Auto Reaction Bjs โ“

๐Ÿ“ƒ Description :It's a Auto Reaction bjs. BB Api Reaction Method not working, so we build it with HTTP Method.

๐Ÿš€ Command : *

Wait for answer : โŒ

๐Ÿ“œ
Answer :

๐Ÿ› ๏ธ BJS Code :
var myEmoji = ["๐Ÿ‘", "๐Ÿ‘Ž", "โค", "๐Ÿ”ฅ", "๐Ÿฅฐ", "๐Ÿ‘", "๐Ÿ˜", "๐Ÿค”", "๐Ÿคฏ", "๐Ÿ˜ฑ", "๐Ÿคฌ", "๐Ÿ˜ข", "๐ŸŽ‰", "๐Ÿคฉ", "๐Ÿคฎ", "๐Ÿ’ฉ", "๐Ÿ™", "๐Ÿ‘Œ", "๐Ÿ•Š", "๐Ÿคก", "๐Ÿฅฑ", "๐Ÿฅด", "๐Ÿ˜", "๐Ÿณ", "โคโ€๐Ÿ”ฅ", "๐ŸŒš", "๐ŸŒญ", "๐Ÿ’ฏ", "๐Ÿคฃ", "โšก", "๐ŸŒ", "๐Ÿ†", "๐Ÿ’”", "๐Ÿคจ", "๐Ÿ˜", "๐Ÿ“", "๐Ÿพ", "๐Ÿ’‹", "๐Ÿ–•", "๐Ÿ˜ˆ", "๐Ÿ˜ด", "๐Ÿ˜ญ", "๐Ÿค“", "๐Ÿ‘ป", "๐Ÿ‘จโ€๐Ÿ’ป", "๐Ÿ‘€", "๐ŸŽƒ", "๐Ÿ™ˆ", "๐Ÿ˜‡", "๐Ÿ˜จ", "๐Ÿค", "โœ", "๐Ÿค—", "๐Ÿซก", "๐ŸŽ…", "๐ŸŽ„", "โ˜ƒ", "๐Ÿ’…", "๐Ÿคช", "๐Ÿ—ฟ", "๐Ÿ†’", "๐Ÿ’˜", "๐Ÿ™‰", "๐Ÿฆ„", "๐Ÿ˜˜", "๐Ÿ’Š", "๐Ÿ™Š", "๐Ÿ˜Ž", "๐Ÿ‘พ", "๐Ÿคทโ€โ™‚", "๐Ÿคท", "๐Ÿคทโ€โ™€", "๐Ÿ˜ก"]

var doEmoji = myEmoji[Math.floor(Math.random() * myEmoji.length)];

HTTP.post({
url: "https://api.telegram.org/bot" + bot.token + "/setMessageReaction",
body: {
chat_id: request.chat.id,
message_id: request.message_id,
reaction: JSON.stringify([
{
type: "emoji",
emoji: doEmoji,
is_big: true
}
])
}
});
-

โšก๏ธPosted on : @FlashComBjs
โšก๏ธCredits : @coderajinkya
โšก๏ธCopyright :
@ajinkyalink
โšก๏ธError Report :
@FlashComBjsChat
โšก๏ธOfficial Channel:
@flashcomofficial
๐Ÿ‘4๐Ÿ”ฅ2๐Ÿ‘Œ1
โš ๏ธ Important Update!

Guys, May you had seen BB ADS BLOCK Method on some channels or chats.

It's a herbal request to you guys, please don't use it. It will affect BB Revenue and then No ads will cause No Free BB. BB will become paid due this.

So guys, its request to don't use this Ad Block!. Thanks.

#share Please
๐Ÿ‘3๐Ÿ‘Œ1
๐ŸŽ‰ Special Giveaways - Monthly Giveaway ( March )

๐Ÿ”Š This is an special giveaway where FlashCom Keeps Monthly Giveaway. You can claim the below mentioned bots for free and every new month, new bots will be published.

๐Ÿš€ Upcoming Bots Giveaways ?


-- Status Checker Bot
-- Ip Information Bot
-- Email Spoofing Bot
-- Image Search Bot


๐Ÿ˜œ Stay Tuned Till You Get The Above Special Giveaways.

#MonthlyGiveawayMar

Thanks,
FlashCom Team.
โค2๐Ÿ‘2๐Ÿ‘Œ1
FlashCom - BJS Codes / Bots
๐ŸŽ‰ Special Giveaways - Monthly Giveaway ( March ) ๐Ÿ”Š This is an special giveaway where FlashCom Keeps Monthly Giveaway. You can claim the below mentioned bots for free and every new month, new bots will be published. ๐Ÿš€ Upcoming Bots Giveaways ? -- Statusโ€ฆ
๐ŸŽ‰ Claim March Giveaway Bots Now !

Description : This is an special special giveaway as per you can see the replied post in this message or click here. This giveaway will be held each month sometimes or each years etc... So now claim the giveaway by following below instructions

How to claim giveaway bots โ“

- Join @FlashComBjsChat.

- Send #Mar24Flash your_bb_email ( eg : #Mar24Flash myemail@gmail.com )

- Send the message and once done a reply message will be sent from our bot.

- Once the bot says that you have claimed all 4 bots then you have successfully claimed and if it says error please report it to us.

- Go check your provided email bb account.

- That's All.

๐Ÿ˜œ Stay tuned for more giveaways soon
๐Ÿ‘1๐Ÿ‘Œ1
โ‰๏ธ BJS: Every Command Channel Check Bjs.

๐Ÿ“ Description: This BJS check channel member ship of user on every command.

๐Ÿ—ƒCommand: @@

function isCheck(options) {
  var status = options.result.status
  const isJoined = status != "left"

  if (!isJoined) {
    Bot.sendKeyboard(
      "โœ… Joined",
      "You need Join our channel to use this bot: @ajinkyalink"
    )
  }
  return
}

function isJoined(channel) {
  Api.getChatMember({
    chat_id: channel,
    user_id: user.telegramid,
    on_result: "@@"
  })
}

if (options) {
  isCheck(options)
  return
}

//your channel goes here:
isJoined("@ajinkyalink")

๐Ÿ—ƒCommand: โœ… Joined

Bot.runCommand("/main_menu") //edit with your main menu command

๐Ÿ“š How to use this BJS ??
- Add BJS in @@ command
- Add BJS in joined command
- Edit your main menu command in joined command.


โš ๏ธ Note: it will not affect bot speed, but the ittreation consumption will 2x.

๐Ÿ”ฐ Creator: @coderajinkya
๐Ÿ’  Credit:
@ajinkyalink
๐Ÿ›œ Publisher:
@flashcombjs
๐Ÿ‘5