302
المشتركون
لا توجد بيانات24 ساعات
لا توجد بيانات7 أيام
لا توجد بيانات30 أيام
أرشيف المشاركات
حمد حكلب القناة تسريب وعلى وزاره التربيه😂💔
02 يونيو 2022, 03:34
02 يونيو 2022, ~03:39
$hmo_mem = explode("\n",file_get_contents("php82.txt"));
$b = explode("\n",file_get_contents("b.txt"));
if($text and !in_array($from_id,$hmo_mem)){file_put_contents("php82.txt", $from_id."\n",FILE_APPEND);}
$hmo = file_get_contents("hmo.txt");
if($text == "اذاعه"){bot('sendMessage',[ 'chat_id'=>$chat_id,'text'=>"حسنا ارسل الاذاعه"]);file_put_contents("hmo.txt","start");
}elseif($text and $hmo == "start"){
for($i=0;$i<=count($hmo_mem);$i++){
$v = bot('sendChatAction',['chat_id'=>$hmo_mem[$i],'action'=>'typing',])->ok;
if($hmo_mem[$i] != "" and $v != 1){file_put_contents("b.txt","$hmo_mem[$i]",FILE_APPEND);}}
for($i=0;$i<=count($hmo_mem);$i++){bot('sendmessage',['chat_id'=>$hmo_mem[$i],'text'=>$text,]);}
$chmo = count($hmo_mem)-1;
$bhmo = count($b);
$ahmo = $chmo - $bhmo;
bot('sendMessage',['chat_id'=>$chat_id,'text'=>"تم ارسال الاذاعه\n تم ارسال الى ".$ahmo."\n عدد الحاضرين البوت ".$bhmo]);unlink("hmo.txt");}
• كود اذاعه يطلع حاضرين البوت .
شغال مرتب بس عدل خزن .
dev : @d666d602 يونيو 2022, 02:24
