Advanced Bot Codingsโ„ข
2.34K 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
Advanced Bot Codingsโ„ข
๐Ÿ”ด Translator Api fixing in progress...
So Guys, Api Is Ready But Due To My Bad Luck. 000webhost Banned My Account So I Add The Api In My Api Domain But Don't Worry Soon I Will Host Again And I Will Make The All Api Again๐Ÿ˜
๐Ÿ”— Advanced Link Shortner BJS

๐Ÿ’ง Command :-

/start

๐Ÿ’ป BJS :-
Bot.sendMessage("Welcome To SL Link Shortner Bot.\n\nSend Any Link I Will Short It")

๐Ÿ’ง Command :- *

๐Ÿ’ป BJS :-
function validURL(url) {
var regex = /^(?:(?:https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/
return regex.test(url)
}

if (validURL(message)) {
HTTP.post({
url: "https://slweb.tk/api/url/add",
success: "/onDone",
body: {
url: message
},
headers: {
Authorization: "Bearer key",
"Content-Type": "application/json"
}
})
//Remove key and add your api key
} else {
Bot.sendMessage("Wrong URL\nExample :
https://youtube.com",{is_reply:true})
}


๐Ÿ’ง Command :-
/onDone

๐Ÿ’ป BJS :- var Data = JSON.parse(content)
var Short_Link = Data.shorturl

let err = Data.error

if (err == "0") {
Bot.sendMessage("โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–\nShort Link : "+Short_Link+"\nโž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–",{is_reply:true,disable_web_page_preview:true})
return
}

Bot.sendMessage("Enter Correct Api Key,",{is_reply:true})


โœ… Get Your Api Key From https://slweb.tk/ !

โœจ Credit - @TricksXTechOwner
๐Ÿ”ฐ Rate Us BJ's For Free ๐Ÿ˜‰
It's Too Advance BJ's
#1st On Telegram

๐Ÿ’ง Command :- Your Command

๐Ÿ’ป BJS :-

if(chat.chat_type!="private"){
Bot.sendMessage("_Open me in private_");
return
}
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 user_rated = User.getProperty("userRated")
if(!user_rated){
var button = [[{title:"๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ",command:"/rate 5"}],[{title:"๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ",command:"/rate 4"}],[{title:"๐ŸŒŸ๐ŸŒŸ๐ŸŒŸ",command:"/rate 3"}],[{title:"๐ŸŒŸ๐ŸŒŸ",command:"/rate 2"}],[{title:"๐ŸŒŸ",command:"/rate 1"}]]
Bot.sendInlineKeyboard(button,"*โญ Please Rate Us โญ*\n\n_How was Your Experience With Us:_")
}else{
Bot.sendMessage("*๐Ÿฅฐ You Already Rated Us And We Have Received Your Feedback*")
}


๐Ÿ’ง New Command :-
/rate

๐Ÿ’ป BJS :-
if(chat.chat_type!="private"){
Bot.sendMessage("_Open me in private_");
return
}
if (request.data) {
var message_id = request.message.message_id
var chat_id = request.message.chatu.id

Api.deleteMessage({
chat_id: chat_id,
message_id: message_id
})
}
if(!params){ return }
var user_rated = User.getProperty("userRated")
if(!user_rated){
var rated = params.split(" ")
var rates = ""
var i;
for(i=1;i<=rated;i++){
rates+="๐ŸŒŸ"
}}
User.setProperty("userRated","yes","text")
Api.sendMessage({
chat_id: "@SentSellerLogs",
text: "*๐Ÿ†•New Rating Found\n\n๐Ÿ‘คUser :* "+"["+user.telegramid+"]"+"("+"tg://user?id="+user.telegramid+")"+"\n*๐Ÿ›ธ User Id :*
"+user.telegramid+"\n๐Ÿ˜Rating : " +rates+ "\n\n๐Ÿš€ Bot : @"+bot.name+"*",parse_mode: "Markdown"
})
Bot.sendMessage("*๐Ÿ˜ Thanks For Rating Us Your Feedback Is Valuable To Us*")
}else{
Bot.sendMessage("*๐Ÿฅฐ You Already Rated Us And We Have Received Your Feedback*")
}


โœจ Credit: @TricksXTechOwner
โŒ Important Information โš ๏ธ

If Anyone Is Providing You His/Her Bot Token For Making Bot Then Don't Take His Token For Making Bot Once You Hosted His Bot From His Token. He Will Be Able Request For Resetting Your BB Account And Your Account Can Be Get Hacked.

โš ๏ธ Bots.Business Added This Function In
@BotsBusinessAdminBot.

๐ŸŒบ Stay Safe, Stay With Us
๐Ÿง‘๐Ÿปโ€๐Ÿ’ป Admin ~ Shadab Alam
๐Ÿ‡ฎ๐Ÿ‡ณ Happy Independence Day ๐Ÿ‡ฎ๐Ÿ‡ณ
๐Ÿ‡ฎ๐Ÿ‡ณ Ind Vs Pak ๐Ÿ‡ต๐Ÿ‡ฐ

India lose the match ๐Ÿฅฒ๐Ÿ˜ข
But don't worry, Next match will happen soon ๐Ÿ™‚
Sept 5... 3 Idiots Day...
Happy Teachers' Day โฃ
Our Best Teacher ~ Google
๐Ÿ˜…
โ˜ž Are you finding autopay api for crypto bot ?

โ˜Ž๏ธ Contact :- @Shadab_Alam

๐Ÿ“ค Api supports withdrawal for Polygon, Thundercore & Celo Blockchain for currently. Soon, more will be added.

โ€ผ๏ธ Note: Terms & conditions applied.
๐Ÿ“ข Announcement: Launching our official SMM Panel Bot soon with cheapest price... Build in progress.
๐ŸŽ‰ Presenting Teleseen Bot With Cheapest Price #Official_Bot

Bot :- @TeleSeen_ENG_Bot

Features:
- Cheapest price.
- Fastly order completed.
- Support command available.
- Track order option available.
- Adding more features soon.

๐Ÿ”ฑ Official Channel - @Teleseen_ENG

๐Ÿ’ป Run & managed By: @Shadab_Alam
India won the today match. Start reacting for this match...
๐Ÿ™‚ Should i do comeback guys ?
Anonymous Quiz
80%
Yes ๐Ÿฅน
20%
No ๐Ÿ˜‘
Happy New Year 2023 To You Guys โค๏ธโœจ
Suggest me any code that you want ?

In comment | Note :- Code suggestions not bot suggestions.
This media is not supported in your browser
VIEW IN TELEGRAM
2.00 Crore Ka Package Alag Se โ˜บ๏ธ Kon Kon Chal Rha Hai Mere Saath Google Me Job Ke Liye โ˜บ๏ธโ˜บ๏ธ๐Ÿ˜‰
Advanced Bot Codingsโ„ข
โ™ป๏ธ 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โ€ฆ
โ™ป๏ธ Command = ๐Ÿ“Š Statistics

๐ŸŒ BJS = var user = Libs.ResourcesLib.anotherChatRes("user", "global")
var payout = Libs.ResourcesLib.anotherChatRes("withdraw", "global")
var graphpic = "https://quickchart.io/chart?bkg=white&c={type:%27bar%27,data:{labels:[''],datasets:[{label:%27Total-Users%27,data:["+user.value()+"]},{label:%27Total-Payment%27,data:["+payout.value()+"]}]}}"
Api.sendPhoto({
photo: graphpic,
caption: "*๐Ÿ“Š Bot Live Statistics\n\n๐Ÿ‘ฅ Users = "+user.value()+" Users\n\n๐Ÿ“ค Withdraw = "+payout.value()+" Rs\n\nโšœ Share And Support Us โšœ*",
parse_mode: "markdown"
})


๐Ÿšจ Note: Don't forget to add the bjs in /start and Auto command from previous statistics code otheriwse code will not work fine and will create problem.

๐Ÿง‘๐Ÿปโ€๐Ÿ’ป Coded By: @Shadab_Alam

๐Ÿ’ฎ About Code: It is updates version of statistics code. It will send a pic of bar graph image with a caption in which bot users & payout details will be shown.

๐Ÿ“ Previous Statistics Code: https://t.me/Advanced_Bot_Codings/61
This media is not supported in your browser
VIEW IN TELEGRAM
Happy New Year 2024 !! โค๏ธ