- كود كيبورد تكدر تضيف بعد بي وتحذف ♥️
- جواب الكيبورد♥️
#توجيه_فقط
if($text == '/start'){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>'مرحبا بك عزيزي',
'reply_markup'=>json_encode([
'keyboard'=>[
[
['text'=>'هلو1'],['text'=>'هلو2']
],
[
['text'=>'هلو3']
],
]
])
]);
}
- جواب الكيبورد♥️
if($text == "هلو1"){
bot('sendmessage',[
chat_id=>$chat_id,
"text"=> "هلوات"
]);
}
if($text == "هلو2"){
bot('sendmessage',[
chat_id=>$chat_id,
"text"=> "2هلوات"
]);
}
if($text == "هلو3"){
bot('sendmessage',[
chat_id=>$chat_id,
"text"=> "هلوات3"
]);
}
#توجيه_فقط
$k = $text;
$k = str_replace('ᘞ̇' , 'ض' , $text);
$k = str_replace('ࡎ' , ' ص' , $k);
$k = str_replace(' ɹɹ̈̇' , ' ث' , $k);
$k = str_replace(' ᓆ' , ' ق', $k);
$k = str_replace(' ᓅ' , ' ف' , $k);
$k = str_replace('ﻏ̲' , 'غ', $k);
$k = str_replace('ξ' , 'ع' , $k);
$k = str_replace('උ' , 'خ' , $k);
$k = str_replace('ᓗ̥' , 'ج' , $k);
$k = str_replace('ɹɹ̈̇ɹ' , 'ش', $k);
$k = str_replace('ɹɹɹ' , 'س' , $k);
$k = str_replace('ʟ̤ɾʅ' , 'ي' , $k);
$k = str_replace(' ɹ̣' , 'ب' , $k);
$k = str_replace('ᒧ' , 'ل' , $k);
$k = str_replace('І͛' , 'ا' , $k);
$k = str_replace('ɹ̈' , 'ت' , $K);
$k = str_replace('Ủ' , 'ن' , $k);
$k = str_replace('םــ' , 'م' , $k);
$k = str_replace('ᓚ۶ᒧ' , 'ك' , $k);
$k = str_replace('מ' , 'ط' , $k);
$k = str_replace('ↄ̇' , 'ذ' , $k);
$k = str_replace('ᘘ' , 'ظ' , $k);
$k = str_replace('۶' , 'ء' , $k);
$k = str_replace('૭' , 'و' , $k);
$k = str_replace('ȷ' , 'ر' , $k);
$k = str_replace('ى' , 'ى' , $k);
$k = str_replace('j' , 'ز' , $k);
$k = str_replace('ظ' , 'ظ' , $k);
$k = str_replace('୬' , 'و' , $k);
$k = str_replace('බ' , 'ه' , $k)
--------------
كود زخرفه 💐
قديم عدي ضيفه لـ اي ملف حيضل البوت يزخرفه 🔖
خلي اخر الملف 📁
#توجيه
- كود الحصول على فيزا كارد وهميه♥️
#توجيه_فقط
$ca = file_get_contents
("https://mrdg.ml/MrDG/ca.php");
if($text =="فيزا"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"
This card information :
$ca
",
'parse_mode'=>"Markdown",
]);
}
#توجيه_فقط
- كود الحصول على معايدة حسب الاسم♥️
#توجيه_فقط
if ($text != '/start'){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"
[📮┇تم عمل التهنئه اضغط للوصول اليها](http://fiter.me/s.php?n=$text)",
'parse_mode'=>"MarkDown",
'disable_web_page_preview'=>true,
]);
}
#توجيه_فقط
- كود البحث بألمواقع♥️📌
#توجيه_فقط
if($txt != "/start"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'message_id'=>$message_id,
'text'=>"*تم العثور ع نتائج كثيرة 🔔*
اختر الموقع الذي تريد البحث فيه☑️🔍
*By :* @lSDKl",
'parse_mode'=>"Markdown",
'reply_markup'=> json_encode([
'inline_keyboard'=>[
[
['text'=>"App store 🌐", 'url'=>"https://www.apple.com/us/search?q=$txt"],
],
[
['text'=>"Google 📈", 'url'=>"https://www.google.com.iq/search?q=$txt"],
],
[
['text'=>"Youtube 🎥", 'url'=>"https://m.youtube.com/results?q=$txt&sm=3"],
],
[
['text'=>"instagram 📯", 'url'=>"https://www.instagram.com/$txt"],
],
[
['text'=>"Telegram 📪", 'url'=>"https://www.telegram.me/$txt"],
],
[
['text'=>"Github 🐱", 'url'=>"https://github.com/search?utf8=✓&q=$txt"],
],
]
])
]);
}
#توجيه_فقط
- كود الاشتراك الاجباري♥️📌
- تخلي قبل شرط /start 💗🌝
#توجيه_فقط
- تخلي قبل شرط /start 💗🌝
$ch = "معرف قناتك";
$join = file_get_contents("https://api.telegram.org/bot".API_KEY."/getChatMember?chat_id=$ch&user_id=".$from_id);
if($message && (strpos($join,'"status":"left"') or strpos($join,'"Bad Request: USER_ID_INVALID"') or strpos($join,'"status":"kicked"'))!== false){
bot('sendMessage', [
'chat_id'=>$chat_id,
'text'=>"كليشه الاشتراك",
]);return false;}
#توجيه_فقط
if($text=="رتبتي" and $you == "creator"){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"🎫¦ رتبتك » المنشىء 🏌🏻
🌿
",
'reply_to_message_id'=>$message->message_id,
]);
}
if($text=="رتبتي" and $you == "administrator"){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"🎫¦ رتبتك » ادمن في البوت 🎖
🌿",
'reply_to_message_id'=>$message->message_id,
]);
}
if($text=="رتبتي" and $you == "member"){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"🎫¦ رتبتك » فقط عضو 🙍🏼♂️
🌿",
'reply_to_message_id'=>$message->message_id,
]);
}
| كـود رتبتي 🚸
لـ بوتات حمايه فقط 👋🏿اذا جان بوتك غير حمايه وبي كود موقعي عادي ضيفه يصير 🎓
#هدوء
$new = array('هله اجه الكروب كله يرحب بي 💋',
'لضل صنم رحمه للكعبه احجي سولف اني اسولف وياك 🤗❤️',
'نورت الكروب 💋',
"هله بريحه هلي بكروبنه $title",
'ضويت الكروب شمعه ❤️',
'الجه الزين كله 💋',
'هلا بيك حبيبي نورت 🌝',
'نورت كلبي 💋',
'صير حباب ولضل ثكيل 🤷🏼♀️',
'❤️ نورتنه يروح عمتك ☺️',
'صير خوش عضو بالكروب ترا اطردك 🙃',
'نـَْﮩْْ❀ُུـَ❀﴿💡﴾ـۖؐـورتـ❥',
'مٰ̲ہٰٰنہٰٰوِٰڕٰ حہٰٰبྀ̲ہ؏ۤـٖٓہٰٰمٰ̲ہٰٰڕٰيِٰہٰٰ┊※🌝️‘’💛',);
$reply_new = array_rand($new, 1);
| كود يرحب بـ يدخل للكروب 👋🏻
| يرحب ب اكثر من رد مثل مموجود فوك 👆🏿 تكدر تغير ترحيبات وتضيفله بعد هم 🛰
|هـدوء
$msgs = json_decode(file_get_contents('msgs.json'),true);
$update = json_decode(file_get_contents('php://input'));
$message = $update->message;
$text = $message->text;
$chat_id = $message->chat->id;
$from_id = $message->from->id;
if($message){
$msgs['msgs'][$chat_id][$from_id] = ($msgs['msgs'][$chat_id][$from_id]+1);
file_put_contents('msgs.json', json_encode($msgs));}
if($text == "msg" or $text == "رسائلي"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>' 〈🔖عدد رسائلك هيه 〉
〈 💁♂ ┇ $re_user 〉' .$msgs['msgs'][$chat_id][$from_id],]);}
كود عدد رسائلي▪️
الامر ( رسائلي) او( msg ) 💬.....
.
- كود شتراك اجباري + العضو من يشترك بلقناة البوت يبلغلك📌♥️،
#توجيه_فقط
$username = $update->message->from->username;
$reply = $message->reply_to_message->message_id;
$list = file_get_contents("blocklist.txt");
$rep = $message->reply_to_message->forward_from;
$id = $rep->id;
$ch = "@BoTs0";
$sudo = 500144557;
$join = file_get_contents("https://api.telegram.org/bot".API_KEY."/getChatMember?chat_id=$ch&user_id=".$from_id);
if($message && (strpos($join,'"status":"left"') or strpos($join,'"Bad Request: USER_ID_INVALID"') or strpos($join,'"status":"kicked"'))!== false){
bot('sendMessage', [
'chat_id'=>$chat_id,
'text'=>"🚸• اشترك اولا،
@BoTs0",
]);
bot("sendmessage",[
"chat_id"=>$sudo,
"text"=>"- العضو قام بألاشتراك في قناة البوت ، 📌
- معلومات العضو الذي قام بألاشتراك ؛
• الاسم ؛ $name
• الايدي ؛ $from_id
• المعرف ؛ @$username
﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎﹎ ",
]);
die('مشيولي');
}
#توجيه_فقط
$rdod = json_decode(file_get_contents("rep.json"),true);
if(preg_match("/^(اضف)(.*)/",$text)){
$text = str_replace("اضف ","",$text);
$text = explode("\n",$text);
bot("sendMessage",[
"chat_id"=>$chat_id,
"text"=>"تم اضافة الرد بنجاح ❤️✔️"
]);
$rdod[$text[0]] = $text[1]; file_put_contents(")"rep.json",json_encode($rdod));
}
foreach($rdod as $key => $val){
if($text == $key){
bot("sendMessage",[
"chat_id"=>$chat_id,
"text"=>$rdod[$key],
"reply_to_message_id"=>$message->message_id,
]);
}
| كـود اضف رد 🚠
| ضيفه لـ اي بوت عدك 📥
| هـدوء
$about = file_get_contents("data/about.txt");
$sudo = 612393384;
if($text == "اوامر" or $text == "/helpailnoor" and $chat_id == $sudo){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"اهلا بك #مطوري
في قائمه الاوامر 📍
اضغط ع المشتركين 💐
لعرض عدد مشتركين ⌛️
و الامر الثاني 🔮
لـ الاذاعه 📥",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"المشتركين ✅",'callback_data'=>"count"]],
[['text'=>"ارسال رسالة للكل 🔂",'callback_data'=>"send_all"]],
]
])
]);
}
if($data == "count" and $chat_id2 == $sudo){ //مشتركين البوت = مهمة 1
bot('answercallbackquery',[
'callback_query_id'=>$update->callback_query->id,
'text'=>"عدد مشتركين البوت📬 : $c",
'show_alert'=>true,
]);
}
$mode = file_get_contents("data/mode.txt");
if($data == "send_all" and $chat_id2 == $sudo){
file_put_contents("data/mode.txt","yas");
bot('EditMessageText',[
'chat_id'=>$chat_id2,
'message_id'=>$message_id2,
'text'=>"ارسل رسالتك الان 📩 وسيتم نشرها لـ $c مشترك .
- تستطيع التراجع بالضغط على الغاء . ",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"الغاء🚫",'callback_data'=>"off"]],
]
])
]);
}
if($text and $mode == "yas" ){
for ($i=0; $i < count($u); $i++) {
bot('sendMessage',[
'chat_id'=>$u[$i],
'text'=>"$text",
]);
}
}
if($data == "off"){
file_put_contents("data/mode.txt","no");
bot('EditMessageText',[
'chat_id'=>$chat_id2,
'message_id'=>$message_id2,
'text'=>"اهلا بك #مطوري
في قائمه الاوامر 📍
اضغط ع المشتركين 💐
لعرض عدد مشتركين ⌛️
و الامر الثاني 🔮
لـ الاذاعه 📥",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"المشتركين ✅",'callback_data'=>"count"]],
[['text'=>"ارسال رسالة للكل 🔂",'callback_data'=>"send_all"]],
]
])
]);
}
• كود اذاعـه + عدد مشتركين 🎴
• شغال ١٠٠٪ دايما اضيفه ب ملفاتي ميحتاج تعديل 🥤
• ضيفه لـ اخر الملف 🗃
#هـدوء
- كود اشتراك اجباري 📌💗؛
• تخلي قبل شرط /start
$join = file_get_contents("https://api.telegram.org/bot".API_KEY."/getChatMember?chat_id=$ch&user_id=".$from_id);
if($message && (strpos($join,'"status":"left"') or strpos($join,'"Bad Request: USER_ID_INVALID"') or strpos($join,'"status":"kicked"'))!== false){
bot('sendMessage', [
'chat_id'=>$chat_id,
'text'=>"كليشة الاشتراك",
]);return false;}
• تخلي قبل شرط /start
if($new_member and !$check and in_array($chat_id,$e)){
if($chat_id != $json_id){
api("sendMessage",[
'chat_id' => $chat_id,
'text' => " نـوورت/ي الكروب حياتي 😻👋🏾",
'reply_to_message_id' => $message_id,
'reply_markup' =>json_encode([
'inline_keyboard' =>[
[["text" =>"$name", "url" =>"https://t.me/$username"]],
]
])
]);
}
}
كود يرحب بالعضو من يدخل للمجموعه
ضيفه ب اخر الملف وتكدر تخلي قناتك او تغير الترحيب ضيفه لبوتات الحمايه + الردود 🔖
CH: @codphp 📢..
if($chat_id != $json_id){
api("sendMessage",[
'chat_id' => $chat_id,
'text' => " نـوورت/ي الكروب حياتي 😻👋🏾",
'reply_to_message_id' => $message_id,
'reply_markup' =>json_encode([
'inline_keyboard' =>[
[["text" =>"$name", "url" =>"https://t.me/$username"]],
]
])
]);
}
}
كود يرحب بالعضو من يدخل للمجموعه
ضيفه ب اخر الملف وتكدر تخلي قناتك او تغير الترحيب ضيفه لبوتات الحمايه + الردود 🔖
CH: @codphp 📢..
$New_member = $message->new_chat_member;
$usser = $New_member->username;
$id = $New_member->id;
$id_bot = your bot id;
if(preg_match('/^(.*)([Bb][Oo][Tt])/',$usser) and $New_member and $id != $id_bot){
bot('kickChatMember',[
'chat_id'=>$chat_id,
'user_id'=>$id
]);
}
كود طرد اي بوت ينضاف للمجموعه اله اذا المدير يرفع البوت الي يضيفه من قائمه الاداريون ضيفه
لبوتات الحمايه + الردود ☑️
•CH @codphp 📢..
• CoD PHP
$New_member = $message->new_chat_member; $usser = $New_member->username; $id = $New_member->id; $id_bot = your bot id; if(preg_match('/^(.*)([Bb][Oo][Tt])/',$usser) and $New_member and $id != $id_bot){ bot('kickChatMember',[ 'chat_id'=>$chat_id, 'user_id'=>$id…
اكتب ب ٣ متغير حط ايديك هيج مراح يفهم انكلش وعباله متغير كامل مو مكان ايدي
• اذا تريد تخلي امر بس مطور بوت يكدر يطلعه لازم ضيف ب صف الشرط 🚸
and $chat_id == $sudo
مثال
if ($text =="علي" and $chat_id == $sudo){
هيج راح يصير هذا الامر بس للمطور + لازم تتاكد من وجود متغير ال $sudo وكون بي ايديك ♥️
• اذا معدك ضيفه فوك وي متغيرات 🛰
$sudo = ايديك;
#هـدوء ❗️
and $chat_id == $sudo
مثال
if ($text =="علي" and $chat_id == $sudo){
هيج راح يصير هذا الامر بس للمطور + لازم تتاكد من وجود متغير ال $sudo وكون بي ايديك ♥️
• اذا معدك ضيفه فوك وي متغيرات 🛰
$sudo = ايديك;
#هـدوء ❗️
if($text == "رابط حذف" or $text == "رابط الحذف" or $text == "اريد احذف الحساب" or $text == "ححذف"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>" ⸨ رابط حذف التلكرام ⸩ 🗑
➧ https://telegram.org/deactivate
⸺⸺⸺⸺⸺⸺⸺
",
'reply_to_message_id'=>$message->message_id,
]);
}
$sudo = ايديك;
if($text == 'حذف الصوره'and $chat_id == $sudo){
bot('deleteChatPhoto',['chat_id'=>$chat_id]);
bot('sendMessage',['chat_id'=>$chat_id,'text'=>"تـم حذف صـورة الكروب 🤹🏿♂️",
'reply_to_message_id'=>$message->message_id]);
}
• كـود لـحذف صوره الكروب 🔖
• اني ضفت حصانه مطور تكدر تشيلها وضيف حصانه مدير 🙎🏻♂️
• ضيف اخر ملف 🚡
• #هدوء|| #ماثيو