Are you interested in bot coding and looking to take your skills to the next level? Look no further than the Advanced Bot Codings channel on Telegram! This channel is the official channel of Advanced Bot Codings and is dedicated to providing you with all the BJS of bots.Business app, which is a bot-making platform. Not only that, but we also create APIs for you to enhance your bot coding experience. Whether you're a beginner looking to learn the basics or an advanced coder seeking new challenges, this channel has something for everyone. Join us today and take your bot coding skills to new heights! For more information, feel free to contact the owner at @Hero_The_Real_Star. Don't miss out on this exciting opportunity to expand your bot coding knowledge and skills!
02 Oct, 13:31
๐ Statistics
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"
})
18 Jan, 11:28
04 Jan, 11:49
23 Oct, 11:59
30 Sep, 17:38
28 Sep, 03:47
12 Sep, 16:55
05 Sep, 09:53
04 Sep, 17:59
11 Aug, 16:55
01 Jul, 06:30
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*")
}
/rate
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*")
}
01 Jul, 02:13
/start
Bot.sendMessage("Welcome To SL Link Shortner Bot.\n\nSend Any Link I Will Short It")
*
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})/onDone
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})
14 Jun, 14:13