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:
/join

πŸ“‘ Codes:- <?php
if(chat_type($chat_id)=="private"){
$iddd1 = user_getProperty($chat_id,"msgID");
$iddd = $iddd1+1;
bot_deleteMessage($chat_id,$iddd);
if(MemberLib_checkIsUserJoined("@botcodes123",$message_id,"$chat_id")=="left"){
bot_sendMessage($chat_id,$message_id, "Please Join : *@botcodes123*","","Markdown");
return;
}
if(MemberLib_checkIsUserJoined("@botcodes123",$message_id,"$chat_id")=="left"){
bot_sendMessage($chat_id,$message_id, "Please Join : *@botcodes123*","","Markdown");
return;
}
RefLib_addRefBonus($chat_id,"balance","40");
$board=[
['πŸ’Έ Balance','πŸ‘« Invite'],
[ 'πŸ—‚ Wallet', 'πŸ’΅ Withdraw'],
['πŸ’  Refer List']
];
$name = bot_name();
$hmm = UserLib_getNameFor($chat_id);
bot_sendKeyboard($chat_id,$message_id,$board,"*Dear $hmm Welcome To Our @$name*","","Markdown");
return;
}
πŸ‘1
♻️ Command:- πŸ’Έ Balance

πŸ“‘Codes:- <?php
if(chat_type($chat_id)=="private"){
$a = Assets_show($chat_id,"balance");
bot_sendMessage($chat_id,$message_id, "*πŸ₯° User @$username\n\nπŸŽ‰ Chat Id: $chat_id\n\n❀️ Current Balance : $a Rs\n\nBot Made By: @Mohd_arman_idrisi01*","","Markdown");
return;
}
♻️ command:
πŸ‘« Invite

πŸ“‘ Codes <?php
if(chat_type($chat_id)=="private"){
$count = RefLib_checkCount($chat_id);
$ref_link = RefLib_createRefLink($chat_id,"");
bot_sendMessage($chat_id,$message_id, "*πŸ₯°User: @$username \n\n🎯Your ToTal Refers : $count\n\n⭕️ Your Ref Link : $ref_link*","","Markdown");
return;
}
♻️ 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
πŸ‘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