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
โ™ป๏ธ command:
๐Ÿ—‚ Wallet

๐Ÿ“‘Codes:- <?php
if(chat_type($chat_id)=="private"){
$board = [
[
[
"text" => "โš™๏ธ Set/Change Wallet",
"callback_data" => "/setWall"
]
]
];
$wallet = user_getProperty($chat_id,"wallet");
bot_sendInlineKeyboard($chat_id,$message_id,$board,"*โœ… Your Current Wallet : $wallet\n\n๐Ÿ‘๐Ÿป You Can Set Or Change Your Wallet*","","Markdown");
return;
}
โ™ป๏ธcommand: /seWall

๐Ÿ“‘ Codes:- <?php
if(chat_type($chat_id)=="private"){
if(message($chat_id,$message_id)=="true"){
user_setProperty($chat_id,"wallet",$message);
bot_sendMessage($chat_id,$message_id, "Wallet Set Successfully To : $message","","Markdown");
clearMessage($chat_id);
}else{
bot_sendMessage($chat_id,$message_id, "*๐Ÿ“ƒ Send Me Your Paytm Number*","","Markdown");
waitForMessage($chat_id,$message_id,"/setWall");
}
return;
}
โ™ป๏ธcommand:
๐Ÿ’ต Withdraw

๐Ÿ“‘Codes:- <?php
if(chat_type($chat_id)=="private"){
$a = Assets_show($chat_id,"balance");
if($a<10){
bot_sendMessage($chat_id,$message_id, "Balance Not Enough","","Markdown");
return;
}
$board = [
[
[
"text" => "โœ… Yes",
"callback_data" => "/wit2"
]
]
];
bot_sendInlineKeyboard($chat_id,$message_id,$board,"โœ… Are You Sure To Withdraw","","Markdown");
return;
}
โ™ป๏ธcommand:
/wit2

๐Ÿ“‘Codes:- <?php
if(chat_type($chat_id)=="private"){
$wallet= user_getProperty($chat_id,"wallet");
$name = bot_name();
$id = UserLib_getLinkFor($chat_id);
$a = Assets_show($chat_id,"balance");
if($a<10){
bot_sendMessage($chat_id,$message_id, "Balance Not Enough","","Markdown");
return;
}
if(message($chat_id,$message_id)=="true"){
$api=file_get_contents("https://full2sms.in/api/v1/disburse/paytm?mid=your mis&mkey=your mkey&guid=Your Guid&amount=$message&mobile=$wallet&info=Bot+Payout+Maded+By+Arman");
$js=json_decode($api,true);
$status=$js['status'];
if($status==="success"){
$status="Payment Success";
}else
if($status=="failed"){
$status="Payment Failed";
}
bot_sendMessage($chat_id,$message_id, "*โœ…๏ธ New Withdraw Request Success \n\n๐ŸŽญ User: @$id \n๐Ÿ’ธ Amount: $message Rs.\nโค๏ธโ€๐Ÿ”ฅBot: @$name\n๐Ÿ“ƒ Wallet: $wallet\n๐Ÿฅ Status: $status\n\nDev: @Mohd_arman_idrisi01*","","Markdown");
Assets_cut($chat_id,"balance",$message);
clearMessage($chat_id);
}else{
bot_sendMessage($chat_id,$message_id, "๐Ÿ”ฐ Send Your Amount To Withdraw","","Markdown");
waitForMessage($chat_id,$message_id,"/wit2");
}
return;
}
โ™ป๏ธcommand:
๐Ÿ’  Refer List

๐Ÿ“‘Codes:- <?php
if(chat_type($chat_id)=="private"){
$list = RefLib_checkList($chat_id);
$users = explode(",", "$list");
$all_users = "";
foreach ($users as $user) {
$banda = UserLib_getLinkFor($user);
$all_users = "*$all_users\n@$banda*";
}
bot_sendMessage($chat_id,$message_id, "๐Ÿ‘ป Your Refer List :\n $all_users","","Markdown");
return;
}
๐Ÿ‘1
๐Ÿ‘‰Paytm Autopay Codes

๐Ÿ‘‰Start:- Click Here
๐Ÿ‘‰End:- Click Here

๐Ÿ‘‰This Is Not BB Codes This is Php Bot Codes You Can Use Is Botroid.in ...

๐Ÿ‘‰For More:- @botcodes123
โค6๐Ÿ’”1
Play Store App Detail Finder Codes For Php Bot
__


โ™ป๏ธCommand: /app


๐Ÿ“‘ Codes:- <?php
$split= explode(" ",$message);
$msg=$split[1];
if(!$msg){
bot_sendMessage($chat_id,$message_id,"Please Send Like This /app App Name","","Markdown");
return;
}
$curl = curl_init();

curl_setopt_array($curl, array(
CURLOPT_URL =>"https://api.secretprojects.xyz/v1/playstore/?app=$msg",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 2,
CURLOPT_TIMEOUT => 10,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_CUSTOMREQUEST => "GET"
));
$ap = curl_exec($curl);
bot_sendMessage($chat_id,$message_id,$ap,"","Markdown");
$js=json_decode($ap,true);
$name=$js['name'];
$id=$js['id'];
$dev=$js['developer'];
$category=$js['category'];
$type=$js['type'];
$downloads=$js['installs'];
$price=$js['price'];
$summary=$js['summary'];
$new=$js['last_updated'];
$logo=$js['icon'];
$bname = bot_name();
bot_sendPhoto($chat_id,$message_id,$logo,"*โœ…๏ธ Here Is Your App Detail\n\n๐Ÿ‘‰Name: $name\n๐Ÿ‘‰Id: $id\n๐Ÿ‘‰Category: $category\n๐Ÿ‘‰Developer: $dev\n๐Ÿ‘‰Type: $type\n๐Ÿ‘‰Total Installs: $downloads\n๐Ÿ‘‰Price: $price\n\n๐Ÿ‘‰Summary: $summary\n๐Ÿ‘‰Last updated: $new\n\nDetails By: @$bname*","","Markdown");


๐Ÿ‘‰Maded By:-
@Mohd_arman_idrisi01
๐Ÿ‘‰For More Join: @Botcodes123
๐Ÿ”ฅ2๐Ÿ˜ฑ1
Guys After A Long Time I Have Maked a Video Please Like๐Ÿ™‚

Link:-
https://youtu.be/nmK5NRJL9Fs
https://youtu.be/nmK5NRJL9Fs
๐Ÿ‘3
๐Ÿšจ 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