tgoop.com/php_i/2066
Last Update:
$sudo = ايديك; // ID
if (preg_match('/(فحص الاعضاء)(.*)/', $text) and $message->from->id == $sudo) {
$get = json_decode(file_get_contents('data.json'),true);
$bye_keko = $get;
$text = str_replace('فحص الاعضاء', '', $text);
if (isset($get['groups'])) {
$bye_keko = $get['groups'];
}
foreach ($bye_keko as $key => $value) {
$hello_keko = json_decode(file_get_contents("http://api.telegram.org/bot".API_KEY."/getChatMemberscount?chat_id=$key"))->result;
if ($hello_keko < $text) {
bot('leaveChat',[
'chat_id'=>$key,
]);
bot('sendmessage',[
'chat_id'=>$sudo,
'text'=>"id => $key \n members => $hello_keko \n bot leave Chat"
]);
}
}
}
•كود مغادره من الكروبات قليله 🎓
الامر 🔖:-
فحص الاعضاء 10
• شكو كروب ١٠ وجوه راح بوت يغادر منه 🤹🏿♂️
• يفيد بوتات حمايه + ردود 🚸
#هدوء || @php_i ❗️
BY Files-php 📂
Share with your friend now:
tgoop.com/php_i/2066