2021-10-24 20:29:18
if($text == "/PhpCoderTM"&&$fadmin==$admin){
bot('sendmessage',[
'chat_id'=>$admin,
'text'=>"Assalomu alaykum $admin Admin panelga xush kelibsiz",
'parse_mode' => 'html',
'reply_markup'=>json_encode([
'resize_keyboard'=>true,
'keyboard'=>[
[['text'=>' Send user'],['text'=>' Send group']],
[['text'=>' Userlar'],['text'=>' Guruhlar']],
[['text'=>' Statistika']]
]
]),
]);
}
/* Bu kodni @Super_Coder Tuzib ciqdi Manbasiz Osen S******n */
if($text == " orqaga"&&$fadmin==$admin){
bot('sendmessage',[
'chat_id'=>$admin,
'text'=>"Assalomu alaykum admin panelga xush kelibsiz",
'parse_mode' => 'html',
'reply_markup'=>json_encode([
'resize_keyboard'=>true,
'keyboard'=>[
[['text'=>' Send user'],['text'=>' Send group']],
[['text'=>' Userlar'],['text'=>' Guruhlar']],
[['text'=>' Statistika']]
]
]),
]);
}
// Bu Kod @PhpCoderTM kanallarida tarqaldi
if($text == " Guruhlar"&&$fadmin==$admin){
bot('sendmessage',[
'chat_id'=>$admin,
'text'=>$guruhlar,
'parse_mode'=>'html',
'reply_markup'=>json_encode([
'resize_keyboard'=>true,
'keyboard'=>[
[['text'=>' orqaga']],
]
]),
]);
}
if($text == " Userlar"&&$fadmin==$admin){
bot('sendmessage',[
'chat_id'=>$admin,
'text'=>$userlar,
'parse_mode'=>'html',
'reply_markup'=>json_encode([
'resize_keyboard'=>true,
'keyboard'=>[
[['text'=>' orqaga']],
]
]),
]);
}
if($text == " Statistika"&&$fadmin==$admin){
$gr = substr_count($guruhlar,"\n");
$us = substr_count($userlar,"\n");
$obsh = $gr + $us;
bot('sendmessage',[
'chat_id'=>$admin,
'reply_to_message_id'=>$mesid,
'text'=> "
Bot statistikasi:\n\nA'zolar:
$us\n Guruhlar:
$gr\nUmumiy:
$obsh",
'parse_mode' => 'html',
'reply_markup'=>json_encode([
'resize_keyboard'=>true,
'keyboard'=>[
[['text'=>' orqaga']],
]
]),
]);
}
246 views17:29