Botroid Codes
14 subscribers
3 links
Download Telegram
๐Ÿšจ Link Shortner Code

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");
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿšจ About Country

Command :
/country

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

curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.i-tools.site/country/?name=$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);
$code = $data["code"];
$cap = $data["capital"];
$reg = $data["region"];
$cur = $data["currency"]["code"];
$cur_name = $data["currency"]["name"];
$cur_sym = $data["currency"]["symbol"];
$lang = $data["language"]["code"];
$lang_name = $data["language"]["name"];
$flag = $data["flag"];
$dail_code = $data["dialling_code"];
bot_sendPhoto($chat_id,$message_id,$flag,"Code : $code\nCapital : $cap\nRegion : $reg\nCurrency : $cur\nCurrency Name : $cur_name\nCurrency Symbol : $cur_sym\nLanguage : $lang\nLanguage : $lang_name\nDial Code : $dail_code","","Markdown");
Please open Telegram to view this post
VIEW IN TELEGRAM
Paytm Auto Pay Bot ready guys โค๏ธ

@PaytmAutoPayBotRoidBot

Codes coming ๐Ÿฅด๐Ÿฅด
Hosting = BotRoid.in
๐Ÿ‘2
Some errors are come ๐Ÿ˜‚
Setup karne codes drop karduga me ๐Ÿ™ƒ๐Ÿ™ƒ
New vale with capture
โ™ป๏ธ Command:- /start

๐Ÿ“‘ Codes:- <?php
if(chat_type($chat_id)=="private"){
bot_sendMessage($chat_id,$message_id, "$type","","Markdown");
$board = [
[
[
"text" => "โœ… Joined",
"callback_data" => "/join"
]
]
];
$msg = "โœ… To Use This Bot You Must Join To Our Channel\n\n*@botcodes123*\n*@botcodes123\n\nAfter Joined Click On โœ…๏ธJoined*";
bot_sendInlineKeyboard($chat_id,$message_id,$board,"$msg","","Markdown");
user_setProperty($chat_id,"msgID","$message_id");
return;
}
โ™ป๏ธ 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;
}
โ™ป๏ธ 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;
}
๐Ÿ‘1
โ™ป๏ธ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;
}
๐Ÿ‘2
Botroid Codes pinned ยซ๐Ÿ‘‰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 ... @BotRoidSupport ๐Ÿ‘‰For More:- @BotRoidCodeยป
๐Ÿ˜ Captcha In Bot Advance

Command ::-
/start

Code::-

<?php
if(user_getProperty($chat_id,"isVerified")=="undefined"){
$x = file_get_contents("https://thedebojit.tech/captcha/");
$data = json_decode($x,true);
$img = $data["image"];
$ans = $data["ans"];
$board = [
[
[
"text" => "Answer",
"callback_data" => "/ans"
]
]
];
bot_sendPhotoWithInlineKeyboard($chat_id,$message_id,$img,$board,"โžก๏ธ Before we start the airdrop, please prove you are human by answering the question below..\nโœ… Please answer:","","Markdown");
user_setProperty($chat_id,"msgID1","$message_id");
user_setProperty($chat_id,"QuesAns","$ans");
}else{
bot_runCommand($chat_id,$message_id,"/startMain");
}


Command ::-
/ans

Code ::-

<?php
if(user_getProperty($chat_id,"isVerified")!="undefined"){
bot_runCommand($chat_id,$message_id,"/startMain");
return;
}
if(user_getProperty($chat_id,"QuesAns")=="undefined"){
bot_runCommand($chat_id,$message_id,"/start");
return;
}
$id1 = user_getProperty($chat_id,"msgID1");
$id = $id1+1;
bot_deleteMessage($chat_id,$id1);
bot_deleteMessage($chat_id,$id);
if(message($chat_id,$message_id)=="true"){
$ans = user_getProperty($chat_id,"QuesAns");
if($message==$ans){
user_setProperty($chat_id,"isVerified","yes");
bot_runCommand($chat_id,$message_id,"/startMain");
}else{
bot_sendMessage($chat_id,$message_id, "โŒWrong Answer","","Markdown");
clearMessage($chat_id);
bot_runCommand($chat_id,$message_id,"/start");
}
}else{
bot_sendMessage($chat_id,$message_id, "๐Ÿ‘Great, please enter the answer.","","Markdown");
waitForMessage($chat_id,$message_id,"/ans");
}


ยฉ๏ธ API By ::- @coder_debojit
โค2
๐Ÿ” @Tuf_Puf_Bot 's Code

Command ::-
/start

Code ::-
<?php
if(chat_type($chat_id)=="private"){
bot_sendMessage($chat_id,$message_id, "๐Ÿ”ฐ This Bot Is Made By [Botroid](https://Botroid.in)","yes","Markdown");
return;
}

Command ::-
*

Code ::-
<?php
if(chat_type($chat_id)=="private"){
return;
}
$msgg = explode(" ",$message);
$msg = $msgg[1];
if($msg){
return; }
if(strlen("$message")<3){
return; }
$cur = $msgg[0];
$curr = strtoupper($cur);
$tooo = "USDT";
$cnv = iPayments_Lib_ConvertCryptoV2("key","$curr","usdt","1");
$data = preg_split("/[,]+/", $cnv);
if($data[0]=="Failed"){
return;}
$rate = $data[1];
if(!$rate){
return;}
$high = $data[2];
$low = $data[3];
$supply = $data[4];
$market_cap = $data[5];
bot_sendMessage($chat_id,$message_id, "๐Ÿ”ฐ $curr/$tooo\n๐Ÿ’ญ Rate : $rate $tooo\nโฌ†๏ธ 24 Hrs High : $high ๐Ÿค‘\nโฌ‡๏ธ 24 Hrs Low : $low ๐Ÿ˜ญ\n๐Ÿ”ƒ Supply : $supply $curr\n๐Ÿ›’ Market Cap : $market_cap $tooo ๐Ÿ’ฒ\n\nโค๏ธ Please [Donate Us](https://telegra.ph/Donate-To-Tuf-Puf-Bot-02-28) For Non Stop Service.","yes","Markdown");
//return;}

Command ::-
/p

Code ::-
<?php
$msg = explode(" ",$message);
$cur = $msg[1];
if(!$cur){
bot_sendMessagep($chat_id,"", "โš ๏ธ Invalid, Use : /p TRX\nOr\n/p TRX INR","yes","Markdown");
//bot_sendMessagep($chat_id,$message_id, "omfoo: $message_id","yes","HTML");
return;
}
$too = $msg[2];
$to;
if(!$too){
$to="USDT";
}else{
$to=$too;
}
$tooo = strtoupper($to);
$curr = strtoupper($cur);
$cnv = iPayments_Lib_ConvertCryptoV2("key","$curr","$to","1");
$data = preg_split("/[,]+/", $cnv);
if($data[0]=="Failed"){
$err = $data[1];
bot_sendMessage($chat_id,"", "โŒ Not A Valid Crypto Or $err.","yes","Markdown");
return;}
$rate = $data[1];
$high = $data[2];
$low = $data[3];
$supply = $data[4];
$market_cap = $data[5];
bot_sendMessage($chat_id,$message_id, "๐Ÿ”ฐ $curr/$tooo\n๐Ÿ’ญ Rate : $rate $tooo\nโฌ†๏ธ 24 Hrs High : $high ๐Ÿค‘\nโฌ‡๏ธ 24 Hrs Low : $low ๐Ÿ˜ญ\n๐Ÿ”ƒ Supply : $supply $curr\n๐Ÿ›’ Market Cap : $market_cap $tooo ๐Ÿ’ฒ\n\nโค๏ธ Please [Donate Us](https://telegra.ph/Donate-To-Tuf-Puf-Bot-02-28) For Non Stop Service.","yes","Markdown");

Command ::-
/cnv


Code ::-
<?php
$msg = explode(" ",$message);
$amo = $msg[1];
$cur = $msg[2];
$to = $msg[3];
if(!($amo)||!($cur)||!($to)){
bot_sendMessage($chat_id,$message_id, "โš ๏ธ Invalid, Use : /cnv 1 TRX INR","yes","Markdown");
return;
}
$too = strtoupper($to);
$curr = strtoupper($cur);
$cnv = iPayments_Lib_ConvertCryptoV2("key","$curr","$too","$amo");
$data = preg_split("/[,]+/", $cnv);
if($data[0]=="Failed"){
$err = $data[1];
bot_sendMessage($chat_id,$message_id, "โŒ Not A Valid Crypto Or $err.","yes","Markdown");
return;}
$rate = $data[1];
$high = $data[2];
$low = $data[3];
$supply = $data[4];
$market_cap = $data[5];
bot_sendMessage($chat_id,$message_id, "๐Ÿ”ฐ $curr/$too\n๐Ÿ’ญ Rate : $amo $curr = $rate $too\nโฌ†๏ธ 24 Hrs High : $high ๐Ÿค‘\nโฌ‡๏ธ 24 Hrs Low : $low ๐Ÿ˜ญ\n๐Ÿ”ƒ Supply : $supply $curr\n๐Ÿ›’ Market Cap : $market_cap $too ๐Ÿ’ฒ\n\nโค๏ธ Please [Donate Us](https://telegra.ph/Donate-To-Tuf-Puf-Bot-02-28) For Non Stop Service.","yes","Markdown");


Command ::-
/rnd


Code ::-
<?php
$rt = iPayments_Lib_RndCT();
$dec = json_decode($rt,true);
$cur = $dec['symbol'];
$to="USDT";
$tooo = strtoupper($to);
$curr = strtoupper($cur);
$cnv = iPayments_Lib_ConvertCryptoV2("key","$curr","$to","1");
$data = preg_split("/[,]+/", $cnv);
if($data[0]=="Failed"){
$err = $data[1];
//bot_sendMessage($chat_id,"", "โŒ Not A Valid Crypto Or $err.","yes","Markdown");
bot_sendMessage($chat_id,"", "โŒ Please Try Again After 5 Seconds.","yes","Markdown");
return;}
$rate = $data[1];
$high = $data[2];
$low = $data[3];
$supply = $data[4];
$market_cap = $data[5];
bot_sendMessage($chat_id,$message_id, "๐Ÿ”ฐ $curr/$tooo\n๐Ÿ’ญ Rate : $rate $tooo\nโฌ†๏ธ 24 Hrs High : $high ๐Ÿค‘\nโฌ‡๏ธ 24 Hrs Low : $low ๐Ÿ˜ญ\n๐Ÿ”ƒ Supply : $supply $curr\n๐Ÿ›’ Market Cap : $market_cap $tooo ๐Ÿ’ฒ\n\nโค๏ธ Please [Donate Us](https://telegra.ph/Donate-To-Tuf-Puf-Bot-02-28) For Non Stop Service.","yes","Markdown");
โค1๐Ÿ‘1
Botroid New Update Started โœ…
Botroid Codes pinned ยซBotroid New Update Started โœ…ยป
Command :- /start

Code :-
bot.sendButtonV2(
"โœ… Joined","success","*๐Ÿ‘ค To Use Or Bot Join\n\n๐Ÿ”— @TXTsProjects\n๐Ÿ”— @TXTsProjects\n\n๐Ÿš€ After Joining Click On : โœ… Joined*"
,"Markdown","yes");

Ref.addRefBonus("balance","4"); // can be place on joining check
Command :- โœ… Joined

Command :-
btr channel_stat = user.inChannel("@TXTsProjects");
btr channel_stat2 = user.inChannel("@TXTsProjects");

if(channel_stat=="left"){
bot.sendButtonV2(
"โœ… Joined","success","*๐Ÿ‘ค To Use Or Bot Join\n\n๐Ÿ”— @TXTsProjects\n๐Ÿ”— @TXTsProjects\n\n๐Ÿš€ After Joining Click On : โœ… Joined*"
,"Markdown","yes");
}else{

if(channel_stat2=="left"){
bot.sendButtonV2(
"โœ… Joined","success","*๐Ÿ‘ค To Use Or Bot Join\n\n๐Ÿ”— @TXTsProjects\n๐Ÿ”— @TXTsProjects\n\n๐Ÿš€ After Joining Click On : โœ… Joined*"
,"Markdown","yes");
}
else {

btr bot_name = bot.name();
bot.sendButtonV2(
"๐Ÿ‘ค Account\n๐Ÿ”— Refer,๐Ÿš€ Withdraw\nโš™๏ธ Set Wallet,โ˜Ž๏ธ Support","danger\nprimary,primary\nsuccess,success","*๐Ÿ‘ค Welcome To @"+bot_name+"\n\n๐Ÿ’ฒ Earn Free USDT*"
,"Markdown","yes");
}
}