ADVANCE BOT CODERS
1.56K subscribers
54 photos
2 videos
26 files
78 links
Hello Guys Welcome To Our channel Here You Will Get All type bot Codes.

πŸšΆβ€β™‚οΈ Road To 10000 Subscribers

βœ”οΈ CONTACT ME : @Armanidrisi_bot

🐱 GITHUB : https://github.com/Armanidrisi
Download Telegram
πŸ”— 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/ !
πŸ‘3πŸ‘1πŸ€”1
Which bot need link do comment me
πŸ‘2
Command: Your Command Name

Answer: *Send Your Long Url*

Wait For Answer On βœ…

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"
})
πŸ‘2
Guys pehle wale Url shortner wale Bjs me kuch problems tha ye wala use karo

Reaction dediya karo
❀4πŸ‘2
Konsa bot chahiye
πŸ‘3
©️Amazon Product finder BJS
βž–βž–βž–βž–βž–βž–βž–βž–

Commmand: ©️Amazon Product finder

Wait for answer on

In answer: Product name

BJ's:
var d = ""+encodeURI(message+"")
HTTP.get({url:"https://amazon-scraper.tprojects.workers.dev/search/"+d+"",success:"am2"})

Title: am2
BJ's :
var r = JSON.parse(content)
if(r.result == 0){
Bot.sendMessage("Not Found")
}else{
var s = r.result0.name
var im1 = r.result0.image
var price1 = r.result0.price
var pl1 = r.result0.productlink
var buynowkey = [[{text: "Buy Now!",url: pl1}]]

Api.sendPhoto({
photo: im1,
caption: "" + s + "
Price: " + price1 + "
Product link: Buy Now",parsemode: "Markdown",replymarkup: {inlinekeyboard: buynowkey}
})

var s2 = r.result1.name
var im2 = r.result1.image
var price2 = r.result1.price
var pl2 = r.result1.productlink
var buynowkey = [[{text: "Buy Now!",url: pl2}]]

Api.sendPhoto({
photo: im2,
caption: "" + s2 + "
Price: " + price2+ "
Product link: Buy Now",parsemode: "Markdown",replymarkup: {inlinekeyboard: buynowkey}
})

var s3 = r.result2.name
var im3 = r.result2.image
var price3 = r.result2.price
var pl3 = r.result2.productlink
var buynowkey = [[{text: "Buy Now!",url: pl3}]]

Api.sendPhoto({
photo: im3,
caption: "" + s3 + "
Price: " + price3 + "
Product link: Buy Now",parsemode: "Markdown",replymarkup: {inlinekeyboard: buynowkey}
})}


😎Here is the codeπŸ‘†
πŸ‘3
πŸ‘† Amazon Product Finder From Bot πŸ‘†

Reaction to dedo
❀6
πŸ•―YT Thumbnail BJS
βž–βž–βž–βž–βž–βž–βž–βž–

=> Command - /YtThumb

=> Answer - *πŸ–‡ Send Your YouTube Video Link To Get Thumbnail.*

=> Wait For Answer - On

=> BJS - Api.sendPhoto({
photo: message,
caption: "*πŸ“¬ Your YouTube Video Thumbnail Generated By : @"+bot.name+".*"
})


😎Here is the codeπŸ‘†
😱1
Konsa BJ's chahiye tell in comment fast?
πŸ‘3❀1
Infotech accept payemnt bot dunga sabko form fill karna hoga jab tak reaction do 5 β™₯
❀7πŸ‘2
ADVANCE BOT CODERS
Infotech accept payemnt bot dunga sabko form fill karna hoga jab tak reaction do 5 β™₯
Agar reaction nhi diye to mujhe lagega ki tumhe bot nhi chahiye
πŸ‘4
Guys need infotecharmy.in Gateway autopay bot codes
Anonymous Quiz
96%
YesπŸ₯°Bro
4%
NoπŸ₯ΆBro
πŸ₯°1
Codes Coming 5 alag-alag reaction do to dunga
❀3πŸ₯°2πŸ‘1πŸ”₯1
Pehle form de raha hu
❀3πŸ‘1
Fill form infotech accept payment Bot milega
Reaction dediya karo bina kahe
πŸ‘4πŸ”₯1πŸ₯°1
Guys koi is form ko apne channel pe daal sakta hai kya bahut kam response hai
πŸ‘1
ADVANCE BOT CODERS
Guys need infotecharmy.in Gateway autopay bot codes
This codes coming
Give reaction
πŸ”₯2πŸ‘1
πŸ‘ COMMAND -> /start

🀟 BJS -> function hello(message) {
var greetings = ""

Bot.sendMessage(greetings + message)
}
function doTouchOwnLink() {
Bot.sendMessage("")
}
function doAttracted(channel) {
hello("Referal: " + channel)
}

function doAtractedByUser(refUser) {
hello("")
var balance = Libs.ResourcesLib.anotherUserRes("balance", refUser.telegramid)
balance.add(0.0)
var users = Libs.ResourcesLib.anotherChatRes("users", "global")
users.add(1)
Bot.sendMessageToChatWithId(refUser.chatId, "🚧 NEW USER ON YOUR INVITE LINK : "+"[" +user.telegramid+"]" + "(" + "tg://user?id=" + user.telegramid + ")"+"");
}

function doAlreadyAttracted(){
Bot.sendMessage("");
}

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

Libs.ReferralLib.currentUser.track(trackOptions);
var welco = User.getProperty("welco")
if (welco == undefined) {
var user_link =
"[" + user.first_name + "]" + "(" + "tg://user?id=" + user.telegramid + ")"
Bot.sendMessageToChatWithId(1635788715,
"*NEW USER*\n\n*USER = "+user.first_name+"\n\nUSERNAME =* " +
user_link +
" \n\n*USER ID =* " +
user.telegramid +
""
)
}
User.setProperty("welco", user.telegramid, "text")
Api.sendChatAction({
chat_id: chat.chatid,
action: "typing"
})
Bot.runCommand("PVERIFY")