👀Botni A'zolarini ko'rishni zo'r yo'lini o'ylab topdim😎
if($text == "/stat" and $cid == $admin){
$azolar = file_get_contents("stat/azolar.txt");
$jastat = substr_count($azolar,"\n");
$chastat = substr_count($chazolar,"\n");
$pastat = substr_count($pazolar,"\n");
$astat = $jastat-$pastat;
$jami = $jastat;
$start_time = round(microtime(true) * 1000);
bot('SendMessage',[
'chat_id'=>$cid,
'text'=>"",
'parse_mode'=>'html',
]);
$end_time = round(microtime(true) * 1000);
$ping = $end_time - $start_time;
$aurl = $_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME']."?azolar=echo";
bot('sendmessage',[
'chat_id'=>$cid,
'text'=>"💡O'rtacha yuklanish: $ping
Premium a'zolar: $pastat ta
Oddiy a'zolari: $astat ta
Chiqib ketganlar: $chastat ta
Umumiy: $jami ta",
'parse_mode' => 'html',
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"🔎A'zolarni ko'rish👀", "url"=>"$aurl"]],
]
])
]);
}
if(isset($_GET["azolar"])){
$azolar = file_get_contents("stat/azolar.txt");
$ids=explode("\n",$azolar);
$jastat = substr_count($azolar,"\n");
for($i=0; $i $id])->result->first_name;
$getusername = bot('getchat', ['chat_id' => $id])->result->username;
if($getname == ""){
$azolar = file_get_contents("stat/azolar.txt");
$chazolar = file_get_contents("stat/chazolar.txt");
file_put_contents("stat/chazolar.txt", "$chazolar\n$id");
$yoqol = str_replace("$id", "\n", "$azolar");
#Manba & dasturchi:
@Asilbek_Coder file_put_contents("stat/azolar.txt", "$yoqol");
}elseif($getusername == ""){
echo "$i) id:$id | @? | $getname";
}else{
echo "$i) id:$id |
@$getusername | $getname";
}
}
}
🙄Buni botingizga moslab olasiz
👨💻Dasturchi:
@Asilbek_Coder📣Tarqatildi:
@EvilCodeUz