TGTGInsighttelegram intelligenceLIVE / telegram public index
← FAST CODER | PHP TEAM
FAST CODER | PHP TEAM avatar

TGINSIGHT POST

Post #1655

@FAST_Coder

FAST CODER | PHP TEAM

Qhawasqakuna1,010Qhawasqa yupay
Riqchachisqa6 Ene06-01-2021, 05:21 a.m.
Willakuy

Willakuy ukhu

1 == "Pin" or $text1 == "PIn" or $text1 == "PIN" or $text1 == "piN" or $text1 == "pIN" or $text1 == "pIn" or $text1 == "pIN"){ $gett = bot('getChatMember', [ 'chat_id' => $chat_id, 'user_id' => $fadmin, ]); $get = $gett->result->status; if($get =="administrator" or $get == "creator"){ bot('pinChatMessage',[ 'chat_id'=>$chat_id, 'message_id'=>$message_id ]); } } if($text1=="bye"&&$fadmin==$admin) { bot('sendmessage', [ 'chat_id' => $chat_id, 'text' => "<b>Ok admin</b>.", 'parse_mode' => 'html' ]); bot('leaveChat',[ 'chat_id'=>$chat_id ]); } if((stripos($mtext,"Sw")!==false) and $fadmin == $admin){ $sx=explode("\n",$text1); $matn = $sx[2]; $idsi = $sx[1]; bot('sendMessage',[ 'chat_id'=>$idsi, 'text'=>$matn, 'parse_mode'=>'markdown', 'disable_web_page_preview' => true, ]); bot('sendMessage',[ 'chat_id'=>$admin, 'text'=>"✅", ]); } if($text1 == "ban" or $text1 == "Ban" or $text1== "/Ban" or $text1 == "/ban"){ $gett = bot('getChatMember', [ 'chat_id' => $chat_id, 'user_id' => $fadmin, ]); $get = $gett->result->status; if($get =="administrator" or $get == "creator"){ $vaqti = strtotime("+108000000 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> gruoppadan <b>ban</b> bo‘ldi!", 'parse_mode'=>'html' ]); } } if($text1 == "Unban" or $text1 == "/unban"){ $gett = bot('getChatMember', [ 'chat_id' => $chat_id, 'user_id' => $fadmin, ]); $get = $gett->result->status; if($get =="administrator" or $get == "creator"){ 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> <b>ban</b>dan alindi!", 'parse_mode'=>'html' ]); } } if($text1 == "warn" or $text1 == "Warn" or $text1 == "/warn"){ $gett = bot('getChatMember', [ 'chat_id' => $chat_id, 'user_id' => $fadmin, ]); $get = $gett->result->status; if($get =="administrator" or $get == "creator"){ $warn = file_get_contents("warn/$chat_id&$id.dat"); if($warn){ $warn +=1; file_put_contents("warn/$chat_id&$id.dat","$warn"); if($warn !=3){ bot('sendChatAction',['chat_id'=>$chat_id,'action'=>"typing"]); $oldi = bot('sendmessage',[ 'chat_id'=>$chat_id, 'text'=>"⚠ <a href='tg://user?id=$id'>$from_user_first_name</a> <b>ogohlantirish oldi.</b>\nEndi undagi ogohlantirishlar soni <b>$warn</b>/3.", 'parse_mode'=>'html' ]); }else{ 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> shu vaqtgacha unga berilgan ogohlantirishlarga <b>befarq bo‘ldi</b>, jazo sifatida esa guruhdan <b>chetlatiladi!</b>", 'parse_mode'=>'html' ]); $vaqti = strtotime("+10800000 minutes"); bot('kickChatMember', [ 'chat_id' => $chat_id, 'user_id' => $id, 'until_date' => $vaqti, ]); $warn = 0; file_put_contents("warn/$chat_id&$id.dat","$warn"); } }else{ $warn = 1; file_put_contents("warn/$chat_id&$id.dat","$warn"); 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> <b>ogohlantirish oldi.</b>\nEndi undagi ogohlantirishlar soni <b>$warn</b>/3.", 'parse_mode'=>'html' ]); } } } if($text1 == "unwarn" or $text1 == "Unwarn" or $text1 == "/unwarn"){ $gett = bot('getChatMember', [ 'chat_id' => $chat_id, 'user_id' => $fadmin, ]); $get = $gett->result->status; if($get =="administrator" or $get == "creator"){ $warn = 0; file_put_contents("warn/$chat_id&$id.dat","$war