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
๐Ÿšจ Link Shortner Code(php)

Command : /link

Code :
<?php
$split = explode(" ",$message);
$msg = $split[1];
if(!$msg){
bot_sendMessage($chat_id,$message_id, "Invalid Use : /link https://plughost.in","","Markdown");
return;
}
$curl = curl_init();

curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.i-tools.site/short/?url=$msg",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 2,
CURLOPT_TIMEOUT => 10,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_CUSTOMREQUEST => "GET"
));
$response = curl_exec($curl);

curl_close($curl);
$data = json_decode($response,true);
$url = $data["shortenUrl"];
bot_sendMessage($chat_id,$message_id, "$url","","Markdown");



Credit:- @TricksXTechOwner
โค5๐Ÿ‘2
New Video Out ๐Ÿ’ฅ๐Ÿค‘๐Ÿ˜

๐Ÿ‘‰Script Link: http://armancampaigns.rf.gd/Tobikey/?i=1

https://youtu.be/UF0da2udNws
https://youtu.be/UF0da2udNws
๐Ÿ‘1
โšก๏ธ Command:- /ip

โ„๏ธBjs:- if(!params){
Bot.sendMessage("Send Like This /ip Ip Adress")
return
}
HTTP.get({
url: "https://api.i-tools.site/geo-ip/?ip="+params+"",
success: "/onsucip"})


โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
โšก๏ธ command: /onsucip

โ„๏ธ Bjs: var result = JSON.parse(content)
var adres = result.ip
var city = result.city
var region = result.region
var country = result.country
var capital = result.country_capital
var country_code = result.country_code
var phone_code = result.country_phone
var timezone = result.timezone
var current_date = result.current_date
var current_time = result.current_time
var currency = result.currency
var currency_code = result.currency_code
var currency_symbol = result.currency_symbol
Api.sendPhoto({chat_id: ""+user.telegramid+"",photo: "https://images.app.goo.gl/Uvg6P5ShjXXWWCq36",caption: "*๐Ÿš€ Here Is Details Of Ip Adress "+adres+"\n\n๐ŸŒ† City:- "+city+"\nโ„๏ธ Region:- "+region+" \n๐Ÿ‘‰ Country:- "+country+"\nโญ•๏ธ Country Capital:- "+capital+"\n\n๐Ÿ”ญ Country Code:- "+country_code+"\n๐Ÿ“ž Dialing Code:- "+phone_code+"\n\n๐Ÿ•• Time Zone:- "+timezone+"\nโฐ Current Time:- "+current_time+"\nโณ Current Date:- "+current_date+"\n\n๐Ÿ’ถ Currency:- "+currency+"\n๐Ÿฆ Currency Code:- "+currency_code+"\n๐Ÿ’ฒ Currency Symbol:- "+currency_symbol+"\n\n๐Ÿ™‚ Created By :- @Mohd_arman_idrisi01*",parse_mode:"Markdown"})


โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–

ยฉ Created By: @Mohd_arman_idrisi01

โžก๏ธ For More: @botcodes123
๐Ÿ‘2
๐Ÿ‘‰Text Yo Speech Bjs ๐Ÿ—จ (Hindi๐Ÿฅฒ)


โ™ป๏ธ Command:- /voice

๐Ÿ‘‰Answer:- Send Your Text

๐Ÿค” Wait For Answer: true;


๐Ÿšฅ Bjs:- let text = encodeURI(message)
Api.sendAudio({
audio: "https://api.i-tools.site/speech/?text="+text+"&language=hi",
caption: "*๐Ÿ“ƒ Here Is Speech Of Your Message* "+message+"",
parse_mode:"Markdown"
})


โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
๐Ÿ‘‰Created By:- @Mohd_arman_idrisi01
๐Ÿ‘‰Api By:- @TricksXTechOwner
๐Ÿ‘‰For More:- @botcodes123
๐Ÿ‘4
๐Ÿ™‚ Our 2 Free Apis

๐Ÿ‘‰Text Encoding And Decode

๐Ÿ‘จโ€๐Ÿ’ปEncode: http://armancampaigns.rf.gd/text/encode/?text=hi

๐Ÿ” Decode: http://armancampaigns.rf.gd/text/decode/?text=aGk=

Try It ๐Ÿ˜€
๐Ÿ‘5
Shareus Url Shortner
โž–โž–โž–โž–โž–โž–โž–โž–

โ™ป๏ธ Command: your command

โšก๏ธAnswer: *Enter Your Url*
๐Ÿค” Wait For Answer: on

Bjs: function validURL(url) {
var arman = /^(?:(?: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 arman.test(url)
}
if (validURL(message)) {
let api= "your api key"
let url= encodeURI(message)
HTTP.get({
url:"https://api.shareus.in/shortLink?token="+api+"&link="+url+"",
success:"onshort"
})

} else {
Bot.sendMessage("Wrong URL")
}


โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–

โ™ป๏ธ2nd Commmand:- onshort

โšก๏ธ Bjs:-
//Created By @Mohd_arman_idrisi01
if(!content){
return
}else
Bot.sendMessage("*๐Ÿ˜ Your URL Has Been Successfully Shorted\n\n๐Ÿš€ Shorted Url: "+content+"*")
๐Ÿ‘4๐Ÿ”ฅ2
โ™ป๏ธCommand 1: /game

๐Ÿ‘‰Bjs: Bot.sendKeyboard("heads,tails","*๐Ÿ˜ Please Choose Your Bet*")
Bot.runCommand("setbetamo")
๐Ÿ‘1
โ™ป๏ธCommand 2 : setbetamo

๐Ÿค” Wait For Answer : on

๐Ÿ‘‰Bjs: if ((message== "heads") || (message== "tails")){
User.setProperty("bet",message,"String")
Bot.sendMessage("*๐Ÿš€ Please Enter Bet Amount*")
Bot.runCommand("setbetamo2")
}else{
Bot.sendMessage("*Please Choose Only Heads Or Tails Only*")
}
๐Ÿ‘1
โ™ป๏ธCommand 3: setbetamo2

๐Ÿค” Wait For Answer : on

๐Ÿ‘‰Bjs: if(message < 2){
Bot.sendMessage("*Minimum Bet Is 2Rs ๐Ÿ™‚*")
return
}else{
if(Libs.ResourcesLib.userRes("balance").value()<message){
Bot.sendMessage("*โ›”๏ธ Bet Amount Is Greater Than Your Balance*")
return
}
User.setProperty("amo",message,"String")
Bot.runCommand("toss")
}
โ™ป๏ธCommand 4 : toss

Bjs: if(Libs.ResourcesLib.userRes("balance").value()<2){
Bot.sendMessage("*Your Balance Is Low๐Ÿ˜›*")
}else{
let messagess=User.getProperty("bet")
HTTP.get({
url: "https://api.i-tools.site/toss/?toss="+messagess+"",
success: "onsuc"
})
}
๐Ÿ‘1
โ™ป๏ธCommand 5 : onsuc

๐Ÿ‘‰Bjs: let userlink=Libs.commonLib.getLinkFor(user)
let btn=[[{title:"๐ŸŽฎ Play Again",command:"/game"}]]
let parse = JSON.parse(content)
let balance = Libs.ResourcesLib.userRes("balance")
let msg= parse.Message
let userbet = User.getProperty("bet")
let betprice= User.getProperty("amo")
let addprice= betprice*2
let up= userbet.toUpperCase();
if(msg == "Its "+up+" ~ You Win"){
Bot.sendInlineKeyboard(btn,"*"+msg+"*")
balance.add(+addprice)
Api.sendMessage({
chat_id:"@testchannel009988",
text:"*๐Ÿ‘จโ€๐Ÿ’ปNew User Won In ๐Ÿช™Toss\n\nโ–ช๏ธ Name = "+user.first_name+"\nโ–ช๏ธ User =* "+userlink+"\n*โ–ช๏ธ User ID = "+user.telegramid+"\nโ–ช๏ธ Bet Amount = "+betprice+"\n\n๐Ÿ’ณ Gain Amount = "+addprice+"\n\n๐Ÿ‘ฎ๐Ÿปโ€โ™‚๏ธ Bot = @"+bot.name+"\n\n๐Ÿ—ณ Choosed = "+userbet+"*",
parse_mode:"Markdown"
})
}else{
balance.add(- betprice)
Bot.sendInlineKeyboard(btn,"*"+msg+"*")
}
๐Ÿฅฐ3
โšก๏ธ Advanced Toss Game Bjs Given

๐Ÿ‘‰Start: here

๐Ÿ‘‰End: here
โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
ยฉCreated By: @Mohd_arman_idrisi01

๐Ÿ’ For More : @botcodes123
๐Ÿ‘1
Command: /start

Bjs:
const ban = Bot.getProperty("ban"+user.telegramid)
if(ban=='ban'){
Bot.sendMessage("*โŒ๏ธ You Are Banned From Using This Bot*")
return
}
const verify=User.getProperty("verify")
if(!verify){
Bot.runCommand("/verify")
}else{
//Enter Your Command Name After Verified
Bot.runCommand("/main")
}
Command 2 : /verify

BJS:
const ban = Bot.getProperty("ban"+user.telegramid)
if(ban=='ban'){
Bot.sendMessage("*โŒ๏ธ You Are Banned From Using This Bot*")
return
}
const verify=User.getProperty("verify")
if(!verify){
const url = Libs.Webhooks.getUrlFor({
command:"/onsuccess",
user_id: user.id
})
const webpage = "http://armancampaigns.tk/Verify/?webhookUrl="+encodeURIComponent(url)+"&back=https://t.me/"+bot.name+""
const btn =[[{title:"โœ…๏ธ Verify Me",url:webpage}]]
Bot.sendInlineKeyboard(btn,"*โ›”๏ธ Open This Link and Verify YourSelf By Doing Captcha*")
}else{
//Enter Your Command Name After Verified
Bot.runCommand("/main")
}
๐Ÿ‘1
Command 3: /onsuccess

Bjs:
if(!content){return}
const result = JSON.parse(content)
const ip1= result.ip
const ip2= Bot.getProperty(ip1)
if(!ip2){
Bot.setProperty(ip1,user.telegramid,"string")
User.setProperty("verify","done","string")
Bot.sendMessage("*โœ…๏ธ You Are Now Verified Please /start The Bot Again*")
}else{
Bot.setProperty("ban"+ip2,"ban","string")
Bot.setProperty("ban"+user.telegramid,"ban","string")
Bot.sendMessage("_โŒ๏ธ You Are Using Multiple Accounts | Your Account Has Been Successfully Banned_")
}
๐Ÿ‘1
๐Ÿ˜ IP address verification bjs ban multiple tg account BJS
โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–

๐Ÿ‘‰Start: Here

๐Ÿ‘‰End : Here

โœ… Created By @Mohd_arman_idrisi01

๐Ÿ‘‰For More: @botcodes123

โšก๏ธ Api Link: http://armancampaigns.tk/Verify/?webhookUrl=test&back=https://t.me/botname
๐Ÿ‘4๐Ÿฅฐ1๐Ÿ˜ฑ1
โ‰๏ธ How to get live channel member?

๐Ÿ’ก Command = Live subscribe

โ™ป๏ธIn Answer : = Enter Channel Username

โœ… Wait For Answer = On

๐ŸŒ BJS =
Api.getChatMembersCount({
chat_id: message,
on_result: "/ong"
})


๐Ÿ’ก Command = /ong

๐ŸŒ BJS=
var result = options.result
Bot.sendMessage(result)
๐Ÿ‘5๐Ÿฅฐ2๐Ÿ˜ฑ1
โ—๏ธโ“ Real Paytm Number Verify Codes

COMMAND- ๐Ÿงง Wallet

BJ'S - if(message.length == 10){
var total = Bot.getProperty("Wallet" + message + "")
if (!total) {
User.setProperty("wallet", message, "string")
Bot.sendMessage(
"*Your Wallet Set To *" + message
)
Bot.setProperty("Wallet" + message + "", ""+user.telegramid+"", "string")
} else if (total == user.telegramid) {
User.setProperty("wallet", message, "string")
Bot.sendMessage(
"*Your Wallet Set To *" + message
)
Bot.setProperty("Wallet" + message + "", ""+user.telegramid+"", "string")

}else{
Bot.sendMessage(
"*Sorry!, This PAYTM NUMBER is Already Used*"
)
}
} else {
Bot.sendMessage("*๐Ÿ–Š Error: This is not a PAYTM NUMBER!*")
Bot.runCommand("๐Ÿงง Wallet")
}
๐Ÿ‘4
Guys Need Refer And Earn Paytm Autopay Bot In Php
Anonymous Quiz
63%
No
37%
YES
๐Ÿ‘5
ADVANCE BOT CODERS
Guys Need Refer And Earn Paytm Autopay Bot In Php
New Video ๐Ÿ™‚

https://youtu.be/enJq_ZJBOCE
https://youtu.be/enJq_ZJBOCE

Download Codes From Description...
๐Ÿ‘4๐Ÿ˜ฑ1