- كود طرد البوتات ✨🌐
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @llrlll
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
$New_member = $message->new_chat_member;
$usser = $New_member->username;
$id = $New_member->id;
$id_bot = ايدي بوتك;
if(preg_match('/^(.*)([Bb][Oo][Tt])/',$usser) and $New_member and $id != $id_bot and $you == "member"){
bot('kickChatMember',[
'chat_id'=>$chat_id,
'user_id'=>$id
]);
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"التحذير",
]);
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @llrlll
• CoD PHP
- كود طرد البوتات ✨🌐 ﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎ $New_member = $message->new_chat_member; $usser = $New_member->username; $id = $New_member->id; $id_bot = ايدي بوتك; if(preg_match('/^(.*)([Bb][Oo][Tt])/',$usser) and $New_member and $id != $id_bot and $you == "member"){…
الي ميعرف يطلع ايدي البوت
تاخذ ايدي من توكن البوت اول 9 ارقام بلتوكن اشرت بالحمر
تاخذ ايدي من توكن البوت اول 9 ارقام بلتوكن اشرت بالحمر
- كود معلومات البوت 🔰⚠️؛
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @Paaaa
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
if($text == 'معلومات البوت'){
$getMe = bot('getMe')->result;
bot('sendMessage',['chat_id'=>$chat_id,'text'=>"اسم البوت : {$getMe->first_name}\nمعرف البوت : @{$getMe->username}\nايدي البوت : {$getMe->id}"]);
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @Paaaa
if($text == "المجموعه" or $text == "معلومات المجموعه"){
bot('sendphoto',[
'chat_id'=>$chat_id,
'photo'=>"",
'caption'=>"🧙🏿♀┇معلومات مجموعة { $t }
⚙┇ايدي المجموعة : ❪ $chat_id ❫
📨┇رسائل المجموعة : 【 $message->message_id 】رسـآلهہ
🗒┇عدد الأعضاء : 【 $result2 】عـضہو
📟┇نوع المجموعة : $tc
",
'reply_to_message_id'=>$message->message_id,
]);
}
كود معلومات المجموعه
suhel najamif($re and $re_id != $bot and $re_id != $sudo and $text=="تقيد"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"╮ـ ┅ ┅ ┅ ┅ ┅ ╭
◈ ❲ الايدي » ( $re_id )
◈ ❲ العضو تم تقييده ✓
╯┅ ┅ ┅ ┅ ┅ ┅ـ╰",
'reply_to_message_id'=>$mid
]);
bot('restrictChatMember',[
'chat_id'=>$chat_id,
'user_id'=>$re_id
]);
}
if($re and $re_id != $bot and $re_id != $sudo and $text=="/unban" or $text == "الغاء التقيد"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"╮ـ ┅ ┅ ┅ ┅ ┅ ┅ ╭
◈ ❲ الايدي » ( $re_id )
◈ ❲ تم الغاء تقيده من البوت ✓
╯┅ ┅ ┅ ┅ ┅ ┅ ┅ـ╰",
'reply_to_message_id'=>$mid
]);
bot('unrestrictChatMember',[
'chat_id'=>$chat_id,
'user_id'=>$userid,
]);
}كود تقيد + الغاء
مرتب وشغال
By : suhel najam ...
- كود التنبيه عند تغير الاسم ✨
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
$get=file_get_contents("name.txt");
if($message){
file_put_contents("name.txt",$name);
}
if($text and $name!=$get){
TeamMemo('SendMessage',[
'chat_id'=>$chat_id,
'text'=>"اسمك القديم : $get
اسمك الجديد : $name",
]);
file_put_contents("name.txt",$name);
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @mahmedhany
- كود التنبيه عند تغيير اليوزر 📩
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @iiiiZ ، @mahmedhany
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
$get=file_get_contents("user.txt");
if($message){
file_put_contents("user.txt",$user);
}
if($text and $user!=$get){
TeamMemo('SendMessage',[
'chat_id'=>$chat_id,
'text'=>"يوزرك القديم : $get
يوزرك الجديد : $user",
]);
file_put_contents("user.txt",$user);
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @iiiiZ ، @mahmedhany
~ كود زخرفه 30 نوع 🚸♻️
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @CKKKK
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
if(preg_match('/^(زخرف) (.*)/s', $text, $mtch)){
$ka = urlencode($mtch[2]);
$katu = json_decode(file_get_contents('https://twslbot.000webhostapp.com/zh.php?Name=' . $ka),true);
$kk = $katu['Zhrfa']['0'];
bot('sendmessage',['chat_id'=>$chat_id,'text'=>"$kk",
'reply_to_message_id'=>$message->message_id,
'parse_mode'=>'MarkDown',
]);
}﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
BY ؛ @CKKKK
شرح ميثود : sendChatAction
typing : جار الكتابة
upload_photo : جار إرسال صورة
record_video : يقوم بتسجيل فيديو
upload_video : جار إرسال الفيديو
record_audio : يقوم بتسجيل رسالة صوتية
upload_audio : جار ارسال رسالة صوتية
upload_document : جار ارسال المف
record_video_note : يقوم بتسجيل رسالة مرئية
upload_video_note : جار ارسال رسالة مرئية
مثال :::
BY :- @QWQQQQ
typing : جار الكتابة
upload_photo : جار إرسال صورة
record_video : يقوم بتسجيل فيديو
upload_video : جار إرسال الفيديو
record_audio : يقوم بتسجيل رسالة صوتية
upload_audio : جار ارسال رسالة صوتية
upload_document : جار ارسال المف
record_video_note : يقوم بتسجيل رسالة مرئية
upload_video_note : جار ارسال رسالة مرئية
مثال :::
if($text == '/start'){
bot('sendChatAction' , ['chat_id' =>$chat_id,
'action' => 'typing' ,]);
sleep(2);
bot('sendMessage',[
'chat_id' =>$chat_id,
'text' => "أهلا بك",
'reply_to_message_id' =>$message->message_id,
]); } }BY :- @QWQQQQ
- كود اذاعه عدة انواع 💎🇮🇶.
#منقول
$MASTAFAFILES = //ايديك;
if($text == '/admin' and $chat_id == $MASTAFAFILES){
bot('sendMessage',[
'parse_mode'=>"MarkDown",
'disable_web_page_preview'=>true,
'chat_id'=>$chat_id,
'text'=>' أهلا بك عزيزي المدير
في قائمة الأوامر الخاصة بك؛
إضغط على أحد الأوامر لتنفيذه الآن',
'reply_markup'=>json_encode([
'keyboard'=>[
[
['text'=>'❖¦نشر عام 📢'],['text'=>'❖¦نشر توجيه 🔁']
],
[
['text'=>'❖¦نشر ماركدوان 📣']
],
[
['text'=>'❖¦عدد البوتات 🤖'],['text'=>'❖¦المشتركين 👥']
],
[
['text'=>'❖¦الأحصائيات 📊']
],
]
])
]);
}
$MASTAFAFILES = //ايديك;
$MA3TAFA = explode("\n",file_get_contents("MASTAFA.txt"));
$MASTAFA = count($MA3TAFA)-1;
$MASTAFA_DEV = file_get_contents("MASTAFA_DEV.txt");
if ($update && !in_array($chat_id, $MA3TAFA)) {
file_put_contents("MASTAFA.txt", $chat_id."\n",FILE_APPEND);
}
if($text == "❖¦المشتركين 👥" and $chat_id == $MASTAFAFILES){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"❖¦عدد مشتركين بوتك سيدي المطور هو { $MASTAFA } مشترك ؛ 👥"
]);
}
$count = count(scandir('botss')) - 2;
if($text == "❖¦عدد البوتات 🤖" and $chat_id == $MASTAFAFILES){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"❖¦عدد البوتات المصنوعة سيدي المطور هو { $count$botss} بوت ؛ 👥"
]);
}
if($text == "❖¦الأحصائيات 📊" and $chat_id == $MASTAFAFILES){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"❖¦اليك الاحصائيات 📈
📍¦ عدد البوتات المصنوعة { $count$botss} بوت ؛ 🤖
📍¦ عدد المشتركين هو { $MASTAFA }"
]);
}
if($text == "❖¦نشر عام 📢" and $chat_id == $MASTAFAFILES){
file_put_contents("MASTAFA_DEV.txt", "MASTAFA");
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"❖¦ارسل رسالتك الان سيدي المطور وسيتم ارسالها الى { $MASTAFA } مشترك ؛ 📬"
]);
}
if($text != "❖¦نشر عام 📢" and $MASTAFA_DEV == "MASTAFA" and $chat_id == $MASTAFAFILES){
for ($i=0; $i < count($MA3TAFA); $i++) {
bot('sendMessage',[
'chat_id'=>$MA3TAFA[$i],
'text'=>$text,
]);
}
unlink("MASTAFA_DEV.txt");
}
if($text == "❖¦نشر ماركدوان 📣" and $chat_id == $MASTAFAFILES){
file_put_contents("MASTAFA_DEV.txt", "MASTAFA1");
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"❖¦ارسل رسالتك الان سيدي المطور وسيتم ارسالها الى { $MASTAFA } مشترك ؛ 📬"
]);
}
if($text != "❖¦نشر ماركدوان 📣" and $MASTAFA_DEV == "MASTAFA1" and $chat_id == $MASTAFAFILES){
for ($i=0; $i < count($MA3TAFA); $i++) {
bot('sendMessage',[
'chat_id'=>$MA3TAFA[$i],
'text'=>$text,
'parse_mode'=>"MarkDown",
'disable_web_page_preview'=>true,
]);
}
unlink("MASTAFA_DEV.txt");
}
$from = $message->from->id;
$message_id = $update->message->id;
$chat_id = $message->chat->id;
if($text == "❖¦نشر توجيه 🔁" and $chat_id == $MASTAFAFILES){
file_put_contents("MASTAFA_DEV.txt", "MASTAFA2");
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"❖¦ارسل رسالتك الان سيدي المطور وسيتم ارسالها الى { $MASTAFA } مشترك ؛ 📬",]);}
//====================@i2o2i===================//
if($text != "❖¦نشر توجيه 🔁" and $MASTAFA_DEV == "MASTAFA2" and $chat_id == $MASTAFAFILES){
for($i=0;$i<count($MA3TAFA); $i++){
bot('forwardMessage', [
'chat_id' => $MA3TAFA[$i],
'from_chat_id'=>$from,
'message_id'=>$message->message_id
]);
}
unlink("MASTAFA_DEV.txt");
}#منقول
$d3vsphp = file_get_contents("https://api.telegram.org/bot$text/getMe");
$js = json_decode($dv3sphp);
$ok = $js->ok;
if($text and $ok == 'ok'){
bot(sendMessage,[
'chat_id'=>$chat_id,
'text'=>'The Token Is Ok !'
]);
}
if($text and $ok != 'ok'){
bot(sendMessage,[
'chat_id'=>$chat_id,
'text'=>'The Token Is Not Ok !'
]);
}- كود فحص التوكن
@xSim0s
if($text and $text != "/start"){
$SssBs = json_decode(file_get_contents("https://holmzapi.tk/age.php?data=$text"));
$years = $SssBs->result->years;
$months = $SssBs->result->months;
$weeks = $SssBs->result->weeks;
$days = $SssBs->result->days;
$hours = $SssBs->result->hours;
$minutes = $SssBs->result->minutes;
$seconds = $SssBs->result->seconds;
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"• حسنا يا عزيزي اليك عمرك بالتفصيل ، ♥️👇🏿؛
• تاريخ الولادة ؛ $text ، 📆 ؛
~ عمرك الحالي ؛ *$years* سنة ، *$months* شهر ، *$days* يوم . 🦈 !
- بالأشهر ؛ *$months* ، شهر مر على ولآدتك .
- بالايام ؛ *$days* ، يوم مر على ولآدتك .
- بالساعات ؛ *$hours* ، ساعة مرت على ولآدتك .
- بالدقائق ؛ *$minutes* ، دقيقة مرت على ولآدتك .
- بالثواني ؛ *$seconds* ، ثانية مرت على ولآدتك .
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
• اضغط هنا وتابع جديدنا ، 🇮🇶 ؛",
'parse_mode'=>"MarkDown",
'disable_web_page_preview'=>true,
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"• Saad MoHaMMaD ، ☬'",'url'=>"https://t.me/joinchat/AAAAAEb6ZkvW3Zg-FKXFqA"]]
]
])
]);
}- كود حساب العمر بلتفصيل ❤️
BY؛ @SssBs
ch؛ @codphp
• CoD PHP
Photo
mkdir("welcome");
mkdir("left");
$nwm = $message->new_chat_member;
$namw = $nwm->first_name;
$nam = $nwm->last_name;
$idw = $nwm->id;
$usw = $nwm->username;
$lft = $message->left_chat_member;
$usf = $lft->username;
$idf = $lft->id;
$namf = $lft->first_name;
$chat = $message->chat->id;
$t = $message->chat->title;
if(strpos($text,"/Setwelcome ") !== false ){
$text = str_replace("/Setwelcome", "", $text) ;
file_put_contents("welcome/$chat_id.txt",$text);
bot("sendMessage",[
'chat_id' => $chat_id,
'parse_mode' => "markdown",
'disable_web_page_preview'=>true,
'text' => "Ok doen set welcome~ \n $text",
]);
}
$GETs = file_get_contents("welcome/$chat_id.txt");
if($nwm && $GETs != null || $text == "tb"){
$ed = str_replace("id","$idw","$GETs");
$ed = str_replace("name","$namw","$ed");
$ed = str_replace("user","@$usw","$ed");
$ed = str_replace("chat","$chat","$ed");
$ed = str_replace("title","$t","$ed");
$ed = str_replace("+","\n","$ed");
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"$ed",
]);
}
if(strpos($text,"/Setleft ") !== false ){
$text = str_replace("/Setleft", "", $text) ;
file_put_contents("left/$chat_id.txt",$text);
bot("sendMessage",[
'chat_id' => $chat_id,
'parse_mode' => "markdown",
'disable_web_page_preview'=>true,
'text' => "Ok doen set lift~ \n $text",
]);
}
$GETs = file_get_contents("left/$chat_id.txt");
if($lft && $GETs != null || $text == "t"){
$ed = str_replace("id","$idf","$GETs");
$ed = str_replace("name","$namf","$ed");
$ed = str_replace("user","@$usf","$ed");
$ed = str_replace("chat","$chat","$ed");
$ed = str_replace("title","$t","$ed");
$ed = str_replace("+","\n","$ed");
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"$ed",
]);
}BY ؛ @edes0n ❤️
$sudo = 457270911; //ايديك
$t =$message->chat->title;
$user = $message->from->username;
if($text == "/start") {
bot( sendmessage ,[
chat_id =>$chat_id,
text =>"
",
reply_to_message_id =>$message->message_id,
]);
bot( sendMessage ,[
chat_id =>$sudo,
text =>"تم دخول شخص الى البوت الخاص بك 🔰،
📮┇معلوماته في الأسفل 👋
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎
🔰┇الاسم ، [$name](tg://user?id=$chat_id) ؛
📌┇الايدي ، [$from_id](tg://user?id=$chat_id) ؛
👁🗨┇المعرف ، [@$username](tg://user?id=$chat_id) ؛
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎",
disable_web_page_preview => true ,
parse_mode =>"Markdown",
]);
}كود كشف دخول الاعضاء الى البوت 🌝
BY؛ @ABoTaaiM
mkdir("data");
كود تفعيل والغاء تفعيل البوت للعضو
عن طريق الايد اوامر التفعيل والغاء
امر التفعيل 👇👇
/opn +الايدي
/opn 185520099
امر الغاء التفعيل 👇👇
/delet + الايدي
/delet 185520099
#سجاد_العراقي
BY :- @SJAD100
$id = $message->from->id;
$admin = "185520099"; /* ايدي مالتك */
if (preg_match('/^\/(opn)(.*)/', $text) and $id== $admin) {
$text = str_replace('/add','',$text);
$ex = explode(' ', $text);
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"
•📌 » تم تفعيل البوت للعضو
•📌 » ايدي العضو التم تفعيل اله $ex[1]
•📌 » لغاء تفعيل البوت قم برسال
•📌 » /delet $ex[1]
•📌 » #سجاد_العراقي
",
]);
file_put_contents("data/$ex[1].txt",$ex[1]);
}
if (preg_match('/^\/(delet)(.*)/', $text) and $id== $admin) {
$text = str_replace('/ad','',$text);
$ex = explode(' ', $text);
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"
•📌 » تم الغاء تفعيل البوت للعضو
•📌 » ايدي العضو التم الغاء التفه اله $ex[1]
•📌 » لتفعيل البوت قم برسال
•📌 » /opn $ex[1]
•📌 » #سجاد_العراقي
",
]);
file_put_contents("data/$ex[1].txt","LUA2PHP");
}
$gt =file_get_contents("data/$id.txt");
if($text == "/start" and $gt == $id){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"•📌 » كليشه /start
•📌 » #سجاد_العراقي ",
]);
}
if($text == "/start" and $gt != $id){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"
•📌 » عذرا لا يمكن استخدام البوت
•📌 » قم بمراسله المطور لكي يتم تفعيل
•📌 » البوت لك عن طريق الايدي الحاص بك
•📌 » مع ف المطور @SJAD100
•📌 » #سجاد_العراقي
"
]);
}كود تفعيل والغاء تفعيل البوت للعضو
عن طريق الايد اوامر التفعيل والغاء
امر التفعيل 👇👇
/opn +الايدي
/opn 185520099
امر الغاء التفعيل 👇👇
/delet + الايدي
/delet 185520099
#سجاد_العراقي
BY :- @SJAD100
زخرفه عربي 8 انواع
Api 👇🏻
https://taimbrg.000webhostapp.com/Zhrf/Ar.php?text=الاسم
ex bot / 👇🏻
استفسار @lkabot
Api 👇🏻
https://taimbrg.000webhostapp.com/Zhrf/Ar.php?text=الاسم
ex bot / 👇🏻
if($text){
$zh= file_get_contents("https://taimbrg.000webhostapp.com/Zhrf/Ar.php?text=".urlencode($text));
$bo = json_decode($zh);
$a =$bo->result->a;
bot('sendmessage', ['chat_id' => $chat_id,'text' =>$a,
]);}استفسار @lkabot