Advanced Bot Codings
2.23K subscribers
37 photos
6 videos
4 files
36 links
Hello Friends, This Is Official Channel Of Advanced Bot Codings. This Channel Provide You All BJS Of Bots.Business App Which Is Bot Making Platform And We Also Create Api For You.

📞 Contact Owner: @Hero_The_Real_Star
Download Telegram
💎 Command = Paste It In /start Command BJS

🌐 BJS =

var new_user = User.getProperty ("new_user")
if(!new_user){

Bot.sendMessageToChatWithId(your id, "🚦New User🚦\n\n User = "+user.first_name+"\n🔰 Username = @"+user.username+"\n🆔 User ID = "+user.telegramid+"\n📛 User Link = ["+user.first_name+"](tg://user?id="+user.telegramid+")")
User.setProperty ("new_user",true,"boolean")
}


Note = Must Edit Your Telegram Id.
👍5🥰4😁4
Guys, Do U Want That Code Like If Any User Make Withdraw His Referral List Will Come To ?
Anonymous Quiz
92%
Yes
8%
No, I Have Already
2
❤️ Cᴏᴍᴘʟᴇᴛᴇ Mɪɴɪᴍᴜᴍ 40 Vᴏᴛᴇs.

꧁Tʜᴀɴᴋ U꧂
👍2🔥1
🌐 Rᴇғᴇʀʀᴀʟ Bᴊs = var lib = Libs.ReferralLib

var refList = lib.currentUser.refList.get();

var msg;
if(refList.length>0){
msg = "Total users: " + refList.length + "\n----";
for(var i in refList){
user = refList[i];
msg+= "\n👤 " + user.first_name + " @" + user.username + "";
}
}else{
msg = "YOU DIDN'T REFERRED ANY USER ";
}
Bot.sendMessageToChatWithId(1299920908, msg);


Nᴏᴛᴇ = Aᴅᴅ Tʜɪs Bᴊs Iɴ Aᴜᴛᴏ Cᴏᴍᴍᴀɴᴅ Aɴᴅ Mᴜsᴛ Eᴅɪᴛ Yᴏᴜʀ Tᴇʟᴇɢʀᴀᴍ Iᴅ Tᴏ Gᴇᴛ Rᴇғᴇʀʀᴀʟ Hɪsᴛᴏʀʏ Oɴ Yᴏᴜʀ Aᴄᴄᴏᴜɴᴛ.
👍10
❤️Sᴜᴘᴘᴏʀᴛ Us Aʟᴡᴀʏs Aɴᴅ Gᴇᴛ Aʟʟ Cᴏᴅᴇs Oɴᴇ Bʏ Oɴᴇ❤️
7👍1
Dᴏ Yᴏᴜ Nᴇᴇᴅ 📊 Sᴛᴀᴛɪsᴛɪᴄs Bᴊs ?
Anonymous Quiz
89%
Yᴇs, I Nᴇᴇᴅ Iᴛ 😊
11%
Nᴏ, I Hᴀᴠᴇ Aʟʀᴇᴀᴅʏ Iᴛ 😇😇
🤔4👍2
Advanced Bot Codings
Dᴏ Yᴏᴜ Nᴇᴇᴅ 📊 Sᴛᴀᴛɪsᴛɪᴄs Bᴊs ?
📌 Cᴏᴍᴘʟᴇᴛᴇ 50 Vᴏᴛᴇs Fᴀsᴛ 🔥🔥
3👍2
♻️ Cᴏᴍᴍᴀɴᴅ = 📊 Statistics

🌐 Bᴊs =
var user = Libs.ResourcesLib.anotherChatRes("user", "global")
var withdraw = Libs.ResourcesLib.anotherChatRes("withdraw", "global")
Bot.sendMessage("*📊 Bot Live Statistics\n\n👥 Users = "+user.value()+" Users\n\n📤 Withdraw = "+withdraw.value()+" Rs\n\n Share And Support Us *")


♻️ Coᴍᴍᴀɴᴅ = /start

🌐 Bᴊs =
var user = Libs.ResourcesLib.anotherChatRes("user", "global")
user.add(1)
[ Aᴅᴅ Tʜɪs Bᴊs Iɴ Sᴛᴀʀᴛ Cᴏᴍᴍᴀɴᴅs ]

♻️ Cᴏᴍᴍᴀɴᴅ = Auto

🌐 Bᴊs =
var withdraw = Libs.ResourcesLib.anotherChatRes("withdraw", "global")
withdraw.add(+message)
[ Aᴅᴅ Tʜɪs Bᴊs Iɴ Aᴜᴛᴏ Cᴏᴍᴍᴀɴᴅ ]

📌 Nᴏᴛᴇ = Dᴏ Tʜɪs Aʟʟ Sᴛᴇᴘs Tʜᴇɴ Yᴏᴜʀ Bᴏᴛ Wɪʟʟ Sʜᴏᴡ Aʟʟ Sᴛᴀᴛɪsᴛɪᴄs Oғ Tᴏᴛᴀʟ Usᴇʀs Aɴᴅ Tᴏᴛᴀʟ Wɪᴛʜᴅʀᴀᴡ.
👍15🤔3
Guys, Do U Need Random Referral Bonus Add Codes ?
Anonymous Quiz
92%
Yes
8%
No
👍21
How To Check Live Price By Coinbase Api.

⁉️ First On Bot.Business.

♻️ Command - Live

🌐 BJS - HTTP.get({ url: "
https://api.coinbase.com/v2/prices/spot?currency=USD", success: "/Price" })

♻️ Command - /Price

🌐 BJS -

var result = JSON.parse(content)
var btc = result.data.amount
var time = Libs.DateTimeFormat.format(new Date(),"h:M:s T")+"M"
Api.sendPhoto({ photo: "https://bit.ly/38y1Yle",
caption: "*📊 Live BTC Price = "+btc+" $\n\n Server Time = "+time+"\n\n🌐 Developer = @Shadab_Alam*", parse_mode: "Markdown" })


💎 Coded By :-
@Shadab_Alam
👍4
Advanced Bot Codings
Guys, Do U Need Random Referral Bonus Add Codes ?
var button = [{ title : " Check" , command : " Check" }]
Bot.sendInlineKeyboard(button , "*Subscribe Our Channels To Use This Bot And Earn From It\n\n➤ @Advanced_Bot_Codings\n\n☑️ Done Subscribed! Click Continue.*")
function hello(message) {
var greetings = ""

Bot.sendMessage(greetings + message)
}

function doTouchOwnLink() {
Bot.sendMessage("*You're Trying To Invite You're Self *")
}

function doAttracted(channel) {
hello("Referal: " + channel)
}

function doAtractedByUser(refUser) {
hello("")
var balance = Libs.ResourcesLib.anotherUserRes("balance", refUser.telegramid)
var refbonus = Libs.Random.randomInt(1,10)
balance.add(+refbonus)
Bot.sendMessageToChatWithId(refUser.chatId, "*🏧 New Referral = +"+refbonus+" Rs*");
}

function doAlreadyAttracted(){
Bot.sendMessage("*You Already Started The Bot *");
}

var trackOptions = {
onTouchOwnLink: doTouchOwnLink,
onAttracted: doAttracted,
onAtractedByUser: doAtractedByUser,
onAlreadyAttracted: doAlreadyAttracted
}

Libs.ReferralLib.currentUser.track(trackOptions);


Use It In Start For Random Referral Bonus.

🧑🏻‍💻 Coded By :- @Shadab_Alam
👍6😁1
⁉️ New BJS For Broadcast Message In Bot.

♻️ Command = /broadcast

📤 Answer =
*Send Your Message For Broadcast*

Wait For Answer = On

🌐 BJS =
if(user.telegramid == 1299920908){
Bot.runAll({
command: "Broadcast",
for_chats: "private-chats",
options: {msg: message}
})
Bot.sendMessage("*🚀 Message Sended To All Users*")
}else{
Bot.sendMessage("*🔰 You're Not An Admin*")
}


⚠️ New Command ⚠️

♻️ Command =
Broadcast

🌐 BJS = var msg = options.msg

Bot.sendMessage("*📢 Admin Message ~ #msg\n\n\n"+msg+"*")


🧑🏻‍💻 Coded By = @Shadab_Alam

🔖 Stay With Us And Get All Updated BJS By @Shadab_Alam 👍🏻
👍4🤔3🔥1🥰1
🕹 Video Coming Soon.......

⌛️ May Be Tomorrow......
Do U Need OTP To Channel BJS ?
Anonymous Quiz
91%
Yes
9%
No
👍4
Advanced Bot Codings
Do U Need OTP To Channel BJS ?
♻️ Command = OTP

🌐 BJS = var OTP = Libs.Random.randomInt(12000,99999)
Api.sendMessage({ chat_id: "@Shadab_Alam" , text: "*👋🏻 Hello "+user.first_name+"\n\n🆔 Name = "+user.first_name+"\n🔍 OTP = "+OTP+"\n\n❇️ Enter Your OTP In @"+bot.name+" To Verify Yourself In Bot.*" , parse_mode: "Markdown" })
User.setProperty("OTP", OTP, "string")
Bot.sendMessage("*❇️ Enter Your OTP From Below Channel To Verify Yourself.\n\n🔗 Channel Link = @Shadab_Alam*")
Bot.runCommand("Verify")



♻️ Command = Verify

Wait For Answer = On

🌐 BJS = var code = User.getProperty("OTP")
if(message == code){
Bot.sendMessage("*🚀 You Have Been Verify Succefull..*")
Bot.runCommand("main_menu")
}else{
Bot.sendMessage("*⚠️ Error ! You Have Enter Wrong OTP.\n\n! Try Again*")
Bot.runCommand("OTP")
}


🧑🏻‍💻 Coded By = @Shadab_Alam
👍4