🤔2
Advanced Bot Codings™
Need 2 Or More Channel Checker BJS ?
💝 Complete At Least 100 Votes. There Is 100+ Views.
❓ How To Add Check In 2 Or More Channel ?
🔍 Solution --> Use Below BJS And Instructions Carefully To Add Check In 2 Or More Channels.
➥ Command Name =
➥ BJS =
➥ Command Name = Check
➥ BJS =
➥ Command Name =
➥ BJS =
➥ Command Name =
➥ BJS =
📌 Note = Instead Of [ main_menu ] Edit And Write The New Command Name Like [ Joined 3 ] And In [ Joined 3 ] Command Write The [ Check 3 ] And Use The Same BJS. By This Same Way You Can Add Checks In More Channels.
☞︎︎︎ Note = Must Read Whole Post And Follow Intructions To Add Check In All Channels.
🔍 Solution --> Use Below BJS And Instructions Carefully To Add Check In 2 Or More Channels.
➥ Command Name =
✅ Check
➥ BJS =
let stat = Bot.getProperty(""+user.telegramid+"");
if (stat=="ban"){
Bot.sendMessage("*You're Ban From Using The Bot ❌*");
}else{
let channel = "@Advanced_Bot_Codings";
let id = user.telegramid
Api.getChatMember({
chat_id : channel,
user_id : id,
on_result :"Check"})
}
➥ Command Name = Check
➥ BJS =
var user = options.result.status;
User.setProperty("status" , user, "string");
if (user=="member" | user =="administrator" | user=="creator"){
Bot.runCommand("Joined 2")
User.addToGroup("user")
}
if (user=="left"){
Bot.sendMessage("*❌ Must Join All Channel*")
}
➥ Command Name =
Joined 2
➥ BJS =
let stat = Bot.getProperty(""+user.telegramid+"");
if (stat=="ban"){
Bot.sendMessage("*You're Ban From Using The Bot ❌*");
}else{
let channel = "@Advanced_Bot_Codings";
let id = user.telegramid
Api.getChatMember({
chat_id : channel,
user_id : id,
on_result :"Check 2"})
}
➥ Command Name =
Check 2
➥ BJS =
var user = options.result.status;
User.setProperty("status" , user, "string");
if (user=="member" | user =="administrator" | user=="creator"){
Bot.runCommand("main_menu")
User.addToGroup("user")
}
if (user=="left"){
Bot.sendMessage("*❌ Must Join All Channel*")
}
📌 Note = Instead Of [ main_menu ] Edit And Write The New Command Name Like [ Joined 3 ] And In [ Joined 3 ] Command Write The [ Check 3 ] And Use The Same BJS. By This Same Way You Can Add Checks In More Channels.
☞︎︎︎ Note = Must Read Whole Post And Follow Intructions To Add Check In All Channels.
👍7🤔5🥰1
👍2
💝 Share Our Channels With Ur Friends And Complete 650 Members In Our Channel.
➥ Click On Below Button To Share With Ur Friends.
➥ Click On Below Button To Share With Ur Friends.
❓ How To Unlimited Admins In Our Bot ?
🔍 Solution --> Use Below BJS And Instructions Carefully To Add Unlimited Admins.
==============================
➥ Command =
➥ Answer =
➥ Wait For Answer = On
➥ BJS =
==============================
❓How To Make Code For Admins Access ?
🔍 Solution --> Use Below Code And Put Your Code In It. By This Way Admin Can Access Your Panel.
==============================
➥ Command = Your Command
➥ BJS =
🧑🏻💻 Coded By = @Shadab_Alam
🔍 Solution --> Use Below BJS And Instructions Carefully To Add Unlimited Admins.
==============================
➥ Command =
/AddAdmin
➥ Answer =
*✔️ Send A User Telegram Id To Make Him Admin In This Bot.*
➥ Wait For Answer = On
➥ BJS =
if(user.telegramid == "your telegramid"){
Bot.setProperty("Mods"+user.telegramid, user.telegramid, "string")
Bot.sendMessage("*🔍 User With Telegram Id "+message+" Is Now Admin Of This Bot.*")
}else{
Bot.sendMessage("*⛔️ You Are Not Owner Of This Bot*")
}
==============================
❓How To Make Code For Admins Access ?
🔍 Solution --> Use Below Code And Put Your Code In It. By This Way Admin Can Access Your Panel.
==============================
➥ Command = Your Command
➥ BJS =
var admin = Bot.getPorperty("Mods"+user.telegramid)
if(user.telegramid == admin){
//Your Code
}else{
Bot.sendMessage("⛔️ You Are Not An Admin.")
}
🧑🏻💻 Coded By = @Shadab_Alam
👍7🤔1
❓ How To Delete Channel Message By Our Bots ?
🔍 Solution --> Follow Below Steps And Codes To Delete Your Channel Message By Your Own Bot.
☞︎︎︎ Steps
=======
➥ Make The Bot As Admin In Your Channel.
➥ Use The Below Code And Enter Message Id Of That Post.
➥ Done, Post Will Delete Successfull.
==============================
➥ Command =
➥ Answer =
➥ Wait For Answer = On
➥ BJS =
➥ Command =
➥ Answer =
➥ Wait For Answer = On
➥ BJS =
🧑🏻💻 Coded By = @Shadab_Alam
📌 Note = Bot Can Delete The Message Of 48 Hours Only.
🔍 Solution --> Follow Below Steps And Codes To Delete Your Channel Message By Your Own Bot.
☞︎︎︎ Steps
=======
➥ Make The Bot As Admin In Your Channel.
➥ Use The Below Code And Enter Message Id Of That Post.
➥ Done, Post Will Delete Successfull.
==============================
➥ Command =
/del
➥ Answer =
*🖇 Enter Channel Username From Which You Want To Delete Message.\n\n⚠️ Note = Bot Should Be Must Admin Of That Channel.*
➥ Wait For Answer = On
➥ BJS =
if(user.telegramid == 1299920908){
Bot.run({
command : "Delete",
options : { channel : message } })
}else{
Bot.sendMessage("*⛔️ You Are Not An Admin.*")
}
➥ Command =
Delete
➥ Answer =
*💮 Enter Message Id Of Post.*
➥ Wait For Answer = On
➥ BJS =
if(user.telegramid == 1299920908){
var chat = options.channel
Api.deleteMessage({
chat_id: chat,
message_id: message })
Bot.sendMessage("*🗑 Channel Message Has Been Deleted Successfully.\n\n• Go To Channel & Check The Message.*")
}
🧑🏻💻 Coded By = @Shadab_Alam
📌 Note = Bot Can Delete The Message Of 48 Hours Only.
👍2❤1🤔1
🔘 Currently No Any New BJS Coming. So We Have Stopped For Sometimes...
Advanced Bot Codings™
Do You Want USA Phone Verification BJS ?
😊 Complete At Least 100+ Votes👍🏻
👍1
❓ How To Make Tha User Can Withdraw Only 1 Time In 1 Day ?
♻️ Command = Your Command Name
🌐 BJS =
♻️ Command = Auto
🌐 BJS =
[👆🏻 Add It In Last Of Auto Command ]
🧑🏻💻 Code Developer = @Shadab_Alam
♻️ Command = Your Command Name
🌐 BJS =
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 = Auto
🌐 BJS =
User.setProperty("last_withdraw", Date.now(), "integer");
[👆🏻 Add It In Last Of Auto Command ]
🧑🏻💻 Code Developer = @Shadab_Alam
👍4
⚠️ Notice = I Didn't Post Any Not Working Code Becoz First I Try The Code Ownself Then I Post The Codes. Before Telling Not Working Check Your Command Name And Error.
image_2021-05-28_13-06-25.png
190.2 KB
Do Not Install All Libs In Your Bot!
It Is Not Good For Your Bot.
It Will Be Slowly!
It Is Not Good For Your Bot.
It Will Be Slowly!
⚠️ Notice
1. Without Checking That Code Is Availabe On Channel Or Not. Don't Pm Me.
2. Without Reading Notice That What's Error In BJS And Why Didn't Working. Don't Pm Me.
3. If You Will Pm Me For Like This Reason. You Will Get Block By Admins. I Also Got Report From Admin That You Are Doing Private Message Them And They Are Getting Disturb.
4. Don't Tell Us For Auto Payment Codes Because Bots.Business Admins Telling Don't Use External Api. If You Use External Api Then Maybe Scam With You.
5. Before Watching Full Video Don't Pm To Tell That Bot Have Coming Error Or Code Is Wrong Or Don't Tell To Make Your Bot. Our Work Is Only To Give Codes. We Are Not Your Servant Who Will Create Your Bot.
6. Don't Blame Us If You Are Using Another Code And Getting Error.
Be Cooperate...
1. Without Checking That Code Is Availabe On Channel Or Not. Don't Pm Me.
2. Without Reading Notice That What's Error In BJS And Why Didn't Working. Don't Pm Me.
3. If You Will Pm Me For Like This Reason. You Will Get Block By Admins. I Also Got Report From Admin That You Are Doing Private Message Them And They Are Getting Disturb.
4. Don't Tell Us For Auto Payment Codes Because Bots.Business Admins Telling Don't Use External Api. If You Use External Api Then Maybe Scam With You.
5. Before Watching Full Video Don't Pm To Tell That Bot Have Coming Error Or Code Is Wrong Or Don't Tell To Make Your Bot. Our Work Is Only To Give Codes. We Are Not Your Servant Who Will Create Your Bot.
6. Don't Blame Us If You Are Using Another Code And Getting Error.
Be Cooperate...
⚠️ We Have Deleted Group Becoz You All Always Telling Code Not Working Without Checking Channel That What Is Reason For Not Working Or Using Another Code And Blaming Us. I Was Created Group For Solving Your Problem But No One Wants It. Now Deleted.