Willakuy ukhu
mtext</code>\n <b>Xabarchi haqida ma'lumotlar: </b> 👤<b>Ismi:</b> <a href='tg://user?id=$fadmin'>$first_name</a> 🆔<b>ID</b>si: $fadmin 🔅<b>Usernamesi:</b> @$username ", null, false ]); } if((stripos($mtext,"reo")!==false) and $fadmin == $admin){ $sx=explode("\n",$mtext); $useid = $sx[2]; $chatidsi = $sx[1]; $vaqti = $sx[3]; $minut = strtotime("+$vaqti minutes"); bot('restrictChatMember', [ 'chat_id' => "-$chatidsi", 'user_id' => $useid, 'until_date' => $minut, 'can_send_messages' => false, 'can_send_media_messages' => false, 'can_send_other_messages' => false, 'can_add_web_page_previews' => false ]); bot('sendChatAction',['chat_id'=>$chat_id,'action'=>"typing"]); bot('sendmessage', [ 'chat_id' => $chat_id, 'text' => "🔹 <a href='tg://user?id=$useid'>Foydalanuvchi</a> -$chatidsi guruhida <b>$vaqti</b> ga <b>Read only</b> rejimiga tushdirildi!", 'parse_mode' => 'html' ]); } if($text1 == "Ok" or $text1 == "ok" or $text1 == "OK" or $text1 == "oK"){ $input = array("Ok!!!","Nok🍐","Sok","👌","Tok⚡","😏","☺","👍","Ok"); $rand=rand(0,8); $soz="$input[$rand]"; $a=json_encode(bot('sendmessage',[ 'reply_to_message_id'=>$mesid, 'chat_id'=>$chat_id, 'text'=>$soz, ])); } if($text1 == "ro" or $text1 == "Ro" or $text1 == "RO" or $text1 == "rO"){ $gett = bot('getChatMember', [ 'chat_id' => $chat_id, 'user_id' => $fadmin, ]); $get = $gett->result->status; if($get =="administrator" or $get == "creator"){ $minut = strtotime("+99999999999999 minutes"); bot('restrictChatMember', [ 'chat_id' => $chat_id, 'user_id' => $id, 'until_date' => $minut, 'can_send_messages' => false, 'can_send_media_messages' => false, 'can_send_other_messages' => false, 'can_add_web_page_previews' => false ]); bot('sendChatAction',['chat_id'=>$chat_id,'action'=>"typing"]); bot('sendmessage', [ 'chat_id' => $chat_id, 'text' => "🔹 <a href='tg://user?id=$id'>$from_user_first_name</a> siz <b>Read only</b> rejimiga tushirildingiz!", 'parse_mode' => 'html' ]); } } if($text1 == "Kick" or $text1 == "kick" or $text1 == "/kick"){ $gett = bot('getChatMember', [ 'chat_id' => $chat_id, 'user_id' => $fadmin, ]); $get = $gett->result->status; if($get =="administrator" or $get == "creator"){ $vaqti = strtotime("+1 minutes"); bot('kickChatMember', [ 'chat_id' => $chat_id, 'user_id' => $id, 'until_date'=> $vaqti, ]); bot('unbanChatMember', [ 'chat_id' => $chat_id, 'user_id' => $id, ]); bot('sendChatAction',['chat_id'=>$chat_id,'action'=>"typing"]); bot('sendmessage', [ 'chat_id' => $chat_id, 'text' => "🔹 <a href='tg://user?id=$id'>$from_user_first_name</a> guruhdan <b>Kick</b> bo‘ldi!", 'parse_mode' => 'html' ]); } } if($text1 =="Banan" or $text1 == "Xayr"&&$fadmin==$admin){ $vaqti = strtotime("+10800000 minutes"); bot('kickChatMember', [ 'chat_id' => $chat_id, 'user_id' => $id, 'until_date' => $vaqti, ]); bot('sendChatAction',['chat_id'=>$chat_id,'action'=>"typing"]); bot('sendMessage', [ 'chat_id'=>$chat_id, 'text' => "🔹 <a href='tg://user?id=$id'>$from_user_first_name</a> guruhdan <b>ban</b> bo‘ldiz!", 'parse_mode'=>'html' ]); } if((stripos($capt,"https://")!==false) or (stripos($capt,"dalbayop")!==false) or (stripos($capt,"mazgayop")!==false) or (stripos($capt,"http://")!==false) or (stripos($capt,"/")!==false) or (stripos($capt,"suka")!==false) or (stripos($capt,"Seks")!==false) or (stripos($capt,"zaybal")!==false) or (stripos($capt,"amin")!==false) or (stripos($capt,"Qotaq")!==false) or (stripos($capt,"bla")!==false) or (stripos($capt,"@")!==false) or (stripos($capt,"bot?start=")!==false) or (stripos($mtext,"bot?start=")!==false) or (stripos($mtext,"http://") !==false) or (stripos($mtext,"https://")!==false)){ if((stripos($capt,"☣")!==false) or (stripos($mtext,"☣")!==false)){ }else{ $gett =