Bots.Business
4.12K subscribers
587 photos
18 videos
26 files
552 links
Download Telegram
Bad code example
code formatting
😍 Today I Am Giving JackPort Game BJS For Free

🎰 Jackport Game BJS

Command: 🎰 Jackport
BJS:
Api.sendDice({ on_result:"Result",emoji:"🎰"})

Command: Result
BJS:
Bot.sendMessage("🎰Result: " +options.result.dice.value)

Developer:
@YashGupta20
💎 BB Point Donation: https://t.me/BBPointBot?start=req62-10-points-to-818669679

#⃣ Tags: #Yash_Dev #Game #Jackport
Forwarded from Xrd
🌐Coded By ©𝐑𝐚𝐝𝐢𝐧

💎Credits ©𝐑𝐚𝐝𝐢𝐧 , ℳ🅺ℬ 😜

🔗Bitly.com URL Shortener Bjs

•Command : Bit.ly [Your Wish]
•In Answer : *Send Your Long Url*

✔️Wait For Answer On
In Bjs
var api = "Your API Key"
var longurl = message
var url =
"https://api-ssl.bitly.com/v3/shorten?access_token=" +
api +
"&longUrl=" +
longurl

HTTP.post({
url: url,
success: "ShortLink"
})


-----------------------------------------------

•Command : ShortLink
•Wait For Answer🚫

•In Bjs
let val = JSON.parse(content)
let shortlink = val.data.url
let err = val.status_txt

if (err == "INVALID_URI") {
Bot.sendMessage("*This Is Not A Valid Url\n/TryAgain*")
return
}
Bot.sendMessage("*🔗Your ShortLink Created :*\n\n"+shortlink)


____________________________

🌐Coded By ©𝐑𝐚𝐝𝐢𝐧
💎Credits ©𝐑𝐚𝐝𝐢𝐧 , ℳ🅺ℬ 😜
@bbbounty if you want bb points
This unofficial videos from @Advanced_Bot_Codings community.
Bots.Business
Photo
Really - it is very hard to fix such code!

Do NOT use eval from user's input.
NEVER!
Bots.Business
Photo
💎1000 BB Points for safe user's eval:

var res = eval(message);
Bot.sendMessage(res);
2750 BB points now
3000 BB points now
App fixing in progress
Bots.Business
Photo
Most good unsafe code with eval by @AdityaEXP

Do not use it!

Can be hacked with:
[]["fil" + "ter"]["con" + "structor"]( "re" + "turn bo" + "t.to" + "ken" )()
Bots stopped. Fix in progress
Broadcasting is FIXED now.
If you have Cloud - please wait for update

Broadcasting is possible now with Bot.runAll only:
https://help.bots.business/scenarios-and-bjs/bot-functions#bot-runall-options