اكواد ♡ ⎙ ᑭᕼᑭ،ᑭY،ᒪᑌᗩ،⏎
رفتن به کانال در Telegram
قناة محتواها تجميعه اكواد من مبرمجين و مطورين عرب 🌍 مجمعه بواسطة : @hms_01 ──────────────── 🕰╽الساعة الان بتوقيت السعوديه⇜ 11:45 م ؛ 🌏╽يونيو/2024/6/16 ؛ 🌈╽اليوم⇜ الأحد ؛
نمایش بیشتر687
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
اطلاعاتی وجود ندارد30 روز
آرشیو پست ها
<?php
// Replace 'YOUR_BOT_TOKEN' with your actual bot token
define('BOT_TOKEN', 'YOUR_BOT_TOKEN');
// Handle '/كتب_دينية' command
if ($_GET['text'] == '/كتب_دينية') {
$rl = rand(2, 1959);
$url = "https://t.me/kotobeslameah/{$rl}";
sendMessageWithDocument($url, "💙 ¦ تـم اختيـار كتاب لـك");
}
// Handle '/احاديث_دينية' command
if ($_GET['text'] == '/احاديث_دينية') {
$rl = rand(799, 1341);
$url = "https://t.me/dmatrix12/{$rl}";
sendMessageWithPhoto($url, "💙 ¦ تـم اختيـار احاديث لـك");
}
// Handle '/تلاوات' or '/تلاوة' command
if ($_GET['text'] == '/تلاوات' || $_GET['text'] == '/تلاوة') {
$rl = rand(24, 618);
$url = "https://t.me/EIEI06/{$rl}";
sendMessageWithVoice($url, "🥹♥ ¦ تـم اختيـار تلاوة قرآنيه لـك");
}
// Handle '/خطب_دينية' command
if ($_GET['text'] == '/خطب_دينية') {
$rl = rand(2, 201);
$url = "https://t.me/fresdewi/{$rl}";
sendMessageWithVoice($url, "💙 ¦ تـم اختيـار خطبه لـك");
}
// Handle '/سورة' or '/قران' command
if ($_GET['text'] == '/سورة' || $_GET['text'] == '/قران') {
$rl = rand(2, 82);
$url = "https://t.me/opuml/{$rl}";
sendMessageWithVoice($url, "🥹♥ ¦ تـم اختيـار ايـه قرآنيه لـك");
}
// Handle '/الشيخ' or '/النقشبندي' or '/نقشبندي' command
if ($_GET['text'] == '/الشيخ' $_GET['text'] == '/النقشبندي' $_GET['text'] == '/نقشبندي') {
$rl = rand(2, 114);
$url = "https://t.me/ggcnjj/{$rl}";
sendMessageWithVoice($url, "🥹♥ ¦ تـم اختيـار الشيخ نقشبندي لـك");
}
// Handle '/عبدالباسط' or '/عبدالباسط_عبدالصمد' command
if ($_GET['text'] == '/عبدالباسط' || $_GET['text'] == '/عبدالباسط_عبدالصمد') {
$rl = rand(7, 265);
$url = "https://t.me/telawatnader/{$rl}";
sendMessageWithVoice($url, "🥹♥ ¦ تـم اختيـار الشيخ عبدالباسط لـك");
}
// Function to send message with document
function sendMessageWithDocument($url, $caption) {
$chat_id = $_GET['chat_id'];
$document = [
'chat_id' => $chat_id,
'document' => $url,
'caption' => $caption,
];
sendMessage($document);
}
// Function to send message with photo
function sendMessageWithPhoto($url, $caption) {
$chat_id = $_GET['chat_id'];
$photo = [
'chat_id' => $chat_id,
'photo' => $url,
'caption' => $caption,
];
sendMessage($photo);
}
// Function to send message with voice
function sendMessageWithVoice($url, $caption) {
$chat_id = $_GET['chat_id'];
$voice = [
'chat_id' => $chat_id,
'voice' => $url,
'caption' => $caption,
];
sendMessage($voice);
}
// Function to send the actual message using Telegram API
function sendMessage($content) {
$url = "https://api.telegram.org/bot" . BOT_TOKEN . "/sendMessage";
file_get_contents($url, false, stream_context_create([
'http' => [
'method' => 'POST',
'header' => 'Content-Type: application/json',
'content' => json_encode($content),
],
]));
}
?>
@app.on_message(filters.command(["كتب دينية"], ""))
async def ihd(client: Client, message: Message):
rl = random.randint(2,1959)
url = f"https://t.me/kotobeslameah/{rl}"
await client.send_document(message.chat.id,url,caption="💙 ¦ تـم اختيـار كتاب لـك",
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(
message.from_user.first_name, url=f"https://t.me/{message.from_user.username}")
],
]
)
)
@app.on_message(filters.command(["احاديث دينية"], ""))
async def ihd(client: Client, message: Message):
rl = random.randint(799,1341)
url = f"https://t.me/dmatrix12/{rl}"
await client.send_photo(message.chat.id,url,caption="💙 ¦ تـم اختيـار احاديث لـك",
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(
message.from_user.first_name, url=f"https://t.me/{message.from_user.username}")
],
]
)
)
@app.on_message(filters.command(["تلاوات", "تلاوة"], ""))
async def ihd(client: Client, message: Message):
rl = random.randint(24,618)
url = f"https://t.me/EIEI06/{rl}"
await client.send_voice(message.chat.id,url,caption="🥹♥ ¦ تـم اختيـار تلاوة قرآنيه لـك",
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(
message.from_user.first_name, url=f"https://t.me/{message.from_user.username}")
],
]
)
)
@app.on_message(filters.command(["خطب دينيه"], ""))
async def ihd(client: Client, message: Message):
rl = random.randint(2,201)
url = f"https://t.me/fresdewi/{rl}"
await client.send_voice(message.chat.id,url,caption="💙 ¦ تـم اختيـار خطبه لـك",
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(
message.from_user.first_name, url=f"https://t.me/{message.from_user.username}")
],
]
)
)
@app.on_message(filters.command(["سوره", "قران"], ""))
async def ihd(client: Client, message: Message):
rl = random.randint(2,82)
url = f"https://t.me/opuml/{rl}"
await client.send_voice(message.chat.id,url,caption="🥹♥ ¦ تـم اختيـار ايـه قرآنيه لـك",
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(
message.from_user.first_name, url=f"https://t.me/{message.from_user.username}")
],
]
)
)
@app.on_message(filters.command(["الشيخ", "النقشبندي", "نقشبندي"], ""))
async def ihd(client: Client, message: Message):
rl = random.randint(2,114)
url = f"https://t.me/ggcnjj/{rl}"
await client.send_voice(message.chat.id,url,caption="🥹♥ ¦ تـم اختيـار الشيخ نقشبندي لـك",
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(
message.from_user.first_name, url=f"https://t.me/{message.from_user.username}")
],
]
)
)
@app.on_message(filters.command(["عبدالباسط", "عبدالباسط عبدالصمد"], ""))
async def ihd(client: Client, message: Message):
rl = random.randint(7,265)
url = f"https://t.me/telawatnader/{rl}"
await client.send_voice(message.chat.id,url,caption="🥹♥ ¦ تـم اختيـار الشيخ عبدالباسط لـك",
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(
message.from_user.first_name, url=f"https://t.me/{message.from_user.username}")
],
]
)
)
اكواد اسلاميه هتفيد السورسات والبوتات لغه بايثون مكتبه بايروجرام
@Almortagel_12
import requests
import json
import random
tokens = ["token1", "token2", "token3"] # Add your bot tokens here
chat_id = "your_chat_id"
emojis = ["🔥", "❤️", "😊"] # Add your emojis here
message_ids = [str(i) for i in range(1, 21)] # Generate message IDs from 1 to 20
def bot(token, method, datas={}):
url = "https://api.telegram.org/bot" + token + "/" + method
response = requests.post(url, data=datas)
if response.status_code != 200:
return "Error: " + response.text
else:
return response.json()
for token in tokens:
for message_id in message_ids:
random_emoji = random.choice(emojis)
response = bot(token, 'setmessagereaction', {
'chat_id': chat_id,
'message_id': message_id,
'reaction': json.dumps([{'type': "emoji", "emoji": random_emoji}])
})
print(response)
كود تفاعل بواسطه البوتات
الكود مش بتاعي بس عدلت عليه
انت هتحط التوكن تقدر تحط توكنات من هنا ل بكرا عادي
و هتحط ايدي القناة الي حابب يوصل عليها الرشق
وتاني حاجه تقدر تحط اكثر من ايموجي و هو هيختار عشوائي
و تالت حاجه هتحدد الي هيترشق من كام ل كام انا عاملها من 1 ل 21 انت عدله حسب رغبتك
لا تنسي ان تضيف البوتات في القناة
- Tele : @V2R_3
- CH : @Xx_MO_ON_xX .- - بوت سور قرآنية يحتوي على 10 سور تكدر تضيف اكثر او تعدل علية - -
- @world_father -
- @vs1s2 -
import requests
from bs4 import BeautifulSoup
import random
cookies = {
'PHPSESSID': 'ec3d6370c0494c8cbc70a9cd13f92223',
'__utma': '145625134.1951742619.1709804393.1709804393.1709804393.1',
'__utmc': '145625134',
'__utmz': '145625134.1709804393.1.1.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided)',
'__utmt': '1',
'__utmb': '145625134.17.10.1709804393',
}
headers = {
'authority': 'kalemtayeb.com',
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'accept-language': 'ar-AE,ar-EG;q=0.9,ar;q=0.8,en-GB;q=0.7,en;q=0.6,en-US;q=0.5',
'referer': 'https://kalemtayeb.com/favs/764',
'sec-ch-ua': '"Not_A Brand";v="8", "Chromium";v="120"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Android"',
'sec-fetch-dest': 'document',
'sec-fetch-mode': 'navigate',
'sec-fetch-site': 'same-origin',
'sec-fetch-user': '?1',
'upgrade-insecure-requests': '1',
'user-agent': 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
}
response = requests.get('https://kalemtayeb.com/', cookies=cookies, headers=headers)
# Parse the response content using BeautifulSoup
soup = BeautifulSoup(response.content, 'html.parser')
# Find all elements containing the desired text
desired_phrases = ['دعـــاء', 'حكمــة', 'فرصـــة']
random_phrase = random.choice(desired_phrases)
hikma_element = soup.find('a', string=random_phrase)
if hikma_element:
p_element = hikma_element.find_next('p')
if p_element:
print(f"{random_phrase}: {p_element.text.strip()}")
else:
print(f"{random_phrase}: Associated text not found.")
else:
print(f"{random_phrase}: Not found in the response.")
ملف الاذكار و الحكم و الادعية بلغة python
- Tele : @V2R_3
- CH : @Xx_MO_ON_xX .import requests
import os
name = input('Enter Your Name : ')
def save_image_from_url(url, directory='images'):
# Make a GET request to the image URL
response = requests.get(url)
# Check if the request was successful (status code 200)
if response.status_code == 200:
# Get the content of the image
image_content = response.content
# Create the directory if it doesn't exist
if not os.path.exists(directory):
os.makedirs(directory)
# Extract the filename from the URL
filename = os.path.basename(url)
# Specify the file path to save the image
file_path = os.path.join(directory, filename)
# Save the image
with open(file_path, 'wb') as f:
f.write(image_content)
print(f"Image saved at: {file_path}")
else:
print(f"Failed to retrieve the image from URL: {url}")
cookies = {
'PHPSESSID': '6ee57361ad9df6c9ca10757f68a78f31',
}
headers = {
'Accept': '*/*',
'Accept-Language': 'ar-AE,ar-EG;q=0.9,ar;q=0.8,en-GB;q=0.7,en;q=0.6,en-US;q=0.5',
'Connection': 'keep-alive',
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
# 'Cookie': 'PHPSESSID=6ee57361ad9df6c9ca10757f68a78f31',
'Origin': 'https://nameswriter.com',
'Referer': 'https://nameswriter.com/',
'Sec-Fetch-Dest': 'empty',
'Sec-Fetch-Mode': 'cors',
'Sec-Fetch-Site': 'same-origin',
'User-Agent': 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
'X-Requested-With': 'XMLHttpRequest',
'sec-ch-ua': '"Not_A Brand";v="8", "Chromium";v="120"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Android"',
}
gen_numbers = ['1233', '206', '203', '201', '205', '1231']
for gen_number in gen_numbers:
data = {
'text': f'{name}_Ramadan Mubarak',
'name': name,
'gen': gen_number,
'cat': '40',
'website': '7',
'img': f'https://nameswriter.com/write/creator/{gen_number}-{name}_Ramadan Mubarak.jpg',
}
response = requests.post('https://nameswriter.com/gen_add_last.php', cookies=cookies, headers=headers, data=data)
# Check if the request was successful (status code 200)
if response.status_code == 200:
# Get the content of the image
image_url = f'https://nameswriter.com/write/creator/{gen_number}-{name}_Ramadan Mubarak.jpg'
save_image_from_url(image_url)
else:
print(f"Failed to retrieve the image for gen number: {gen_number}")
نفس الفكره بيعمل كروت تهنئه بس بلغة بايثون وبيحفظ الصور ف الهاتف
- Tele : @V2R_3
- CH : @Xx_MO_ON_xX .عمل ويب هوك
https://api.telegram.org/botتوكن/setWebHook?url=رابط الملف
استخراج معلومات البوت
https://api.telegram.org/botالتوكن/getme
استخراج رابط الملف
https://api.telegram.org/botالتوكن/getwebhookinfo
<?php
ob_start();
error_reporting(0);
header('Content-Type: application/json; charset=utf-8');
$API_KEY = "توكنك";
define('API_KEY',$API_KEY);
define("IDBot", explode(":",$API_KEY)[0]);
function bot($method, $datas = []){
$url ="https://api.telegram.org/bot".API_KEY."/".$method;
$options = ['http'=>['method' => 'POST','content' => http_build_query($datas),
'header'=> 'Content-Type: application/x-www-form-urlencoded\r\n',
],];
$context= stream_context_create($options);
$res = file_get_contents($url, false, $context);
if($res === FALSE){
return json_encode(['error' => 'Request failed']);
}else{
return json_decode($res);
}}
•┈┈• ❀ 🍃🤍🍃 ❀ •┈┈•
فنكشن لو بوت وقف بدون اي سبب تحط فاكشن ده مكان القديم ويعمل ويب هوك بوت يرجع يشتغل
مقدم من :
@Z_5_ll
https://my.000.pe/Hamo/PRAYERS.API.php?city=&country=ايبي مواقيت الصلاة لجميع الدول فقط هتكتب المدينه و الدوله ب العربي او الانجليزي عادي مثال : https://my.000.pe/Hamo/PRAYERS.API.php?city=القاهره&country=مصر https://my.000.pe/Hamo/PRAYERS.API.php?city=cairo&country=Egypt - Tele : @V2R_3 - CH : @Xx_MO_ON_xX .
import requests
from bs4 import BeautifulSoup
import re
cookies = {
'_ga': 'GA1.2.1792644595.1709681609',
'_gid': 'GA1.2.204135762.1709681609',
'_gat': '1',
'_ga_N166PECS9R': 'GS1.2.1709681609.1.1.1709681676.0.0.0',
}
headers = {
'authority': 'hdith.com',
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
'accept-language': 'ar-AE,ar-EG;q=0.9,ar;q=0.8,en-GB;q=0.7,en;q=0.6,en-US;q=0.5',
'referer': 'https://hdith.com/',
'sec-ch-ua': '"Not_A Brand";v="8", "Chromium";v="120"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Android"',
'sec-fetch-dest': 'document',
'sec-fetch-mode': 'navigate',
'sec-fetch-site': 'same-origin',
'sec-fetch-user': '?1',
'upgrade-insecure-requests': '1',
'user-agent': 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
}
params = {
's': input('Enter Text : ')
}
response = requests.get('https://hdith.com/', params=params, cookies=cookies, headers=headers)
soup = BeautifulSoup(response.content, 'html.parser')
items = soup.find_all('div', class_='hbox faq-item active degree1') + soup.find_all('div', class_='hbox faq-item active degree2')+ soup.find_all('div', class_='hbox faq-item active degree3')+ soup.find_all('div', class_='hbox faq-item active degree4')+ soup.find_all('div', class_='hbox faq-item active degree5')+ soup.find_all('div', class_='hbox faq-item active degree6')+ soup.find_all('div', class_='hbox faq-item active degree7')+ soup.find_all('div', class_='hbox faq-item active degree8')+ soup.find_all('div', class_='hbox faq-item active degree9')
for item in items:
# Extracting text and separating based on specified keywords
hadith_text = item.text.strip()
lines = re.split(r'(الراوي:|المحدث:|المصدر:|الجزء أو الصفحة:|حكم المحدث:)', hadith_text)
# Removing empty lines and printing separated lines
for line in lines:
if line.strip():
print(line.strip())
كود بيحث عن الاحاديث يعني انت بتكتب كلمه و بيجبلك الاحاديث الي موجود فيها الكلمه دي انا سحبتو من موقع و حرفيا تعبت لحد مطلعتو ب الشكل دا ف الي حابب يعدل عليه عادي فقط ادعو لي 😊❤️
- Tele : @V2R_3
- CH : @Xx_MO_ON_xX .$id_bot=bot("getme")->result->id;
$addition = $message->new_chat_member;
$additionbot = $update->message->new_chat_member;
if($addition and $addition->id == $id_bot){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"
اكتب هنا رسالة الترحيب
",
'parse_mode'=>"MarkDown",
'disable_web_page_preview'=>true,
'reply_to_message_id'=>$message->message_id,
"reply_markup"=>json_encode([
"inline_keyboard"=>[
[['text' => "المطور", 'url' =>"https://t.me/l_b10"],['text' => "قناة البوت", 'url' =>"https://t.me/zrrrrrrrrrz"]],
[['text'=>"مشاركة البوت",'switch_inline_query'=>"هنا اكتب نص المشاركه للبوت"]],
]])
]);
}
كود php اول ما البوت ينضاف بمجموعة جديدة يرسل ترحيب او اي جملة تبغوها
@l_b10
php
$tk = "";// توكن بوتك
$name_file = substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), - 5);
if($message){
$file = "https://api.telegram.org/file/bot".$tk."/".
bot('getfile',[
'file_id'=>$message->document->file_id])->result->file_path;
file_put_contents("$name_file.php", "<?php \n $text \n ?>",file_get_contents($file));
bot('senddocument',[
'chat_id'=>$chat_id,
'document'=>new CURLFile("$name_file.php")
]);
unlink("$name_file.php");
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"تم كتابة النص داخل الملف",
]);
}
كود بسيط فكرتو تبعثلو كود php يحفضو لك في ملف
@l_b10- A request using which a Telegram bot can react with an emoji on a message in a channel or group with 🔥. ✔️
#by @Se7en_Eyes & @F_E_Y
import requests
import json
token ="0123456789:AaGUL1gSu7aEOk3eiHN6p9DV"
chat_id = -100123456789
message_id = 100
emoji = "🔥"
def bot(method, datas={}):
url = "https://api.telegram.org/bot" + token + "/" + method
response = requests.post(url, data=datas)
if response.status_code != 200:
return "Error: " + response.text
else:
return response.json()
response = bot('setmessagereaction', {
'chat_id': chat_id,
'message_id': message_id,
'reaction': json.dumps([{'type': "emoji", "emoji": emoji}])
})
print(response)
كود بايثون لبوت بيتفاعل علي الرسائل يفيد قناتك
• @Se7en_Eyes 👁php
$api = "";// توكن بوتك
$ali = substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), - 5);
if($message->voice){
$mp3 = "https://api.telegram.org/file/bot".$api."/".
bot('getfile',[
'file_id'=>$message->voice->file_id])->result->file_path;
file_put_contents("$ali.mp3",file_get_contents($mp3));
bot('sendaudio',[
'chat_id'=>$chat_id,
'audio'=>new CURLFile("$ali.mp3")
]);
unlink("$ali.mp3");
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"تم تحويل البصمه بنجاح ❤️🔥",
]);
}
كود بسيط يحول البصمه لصوتيه ❤️🔥
@l_b10- كـود API التـفسير الميـسر للقـرآن الكـريم من موقع المصحف الإلكتروني
- شـغال بترتـيب السورة في المصحف.
- تغيـير رقـم السـوره من السـطـر 70.
- تقدر تحـدد بـداية التفـسير ونهايته بالنسبة لأي سورة من خـلال تحديـد آية البدايـة وآية النهـاية.
- اذا كـانت آيه البـدايه هي آية النهايه هيرجع التفسيـر الكامـل للسوره.
ـــــــــــــــــــــــــــــــــــــــــــــــــــــ
𝗪𝗥𝗜𝗧𝗧𝗘𝗡 𝗕𝗬 : @DEV_BEN
𝗦𝗢𝗨𝗥𝗖𝗘 : @BENfiles
$zz = str_replace('ترجم ','',$text);
if($text == "ترجم $zz"){
$json = json_decode(file_get_contents("https://translate.googleapis.com/translate_a/single?client=gtx&dt=t&sl=auto&tl=ar&q=".urlencode($zz)),ture)[0][0][0];
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"$json",
'disable_web_page_preview'=>'true',
'reply_to_message_id'=>$message->message_id,
'parse_mode'=>"MarkDown"
]);
}
كود ترجم api google بدون توقف يترجم جميع اللغات الي العربيةاكواد الوان اكثر من 20 لون مختلف ومطلوب
red = "\033[31m"
green = "\033[32m"
yellow = "\033[33m"
blue = "\033[34m"
purple = "\033[35m"
cyan = "\033[36m"
white = "\033[37m"
black = "\033[30m"
light_yellow = "\033[93m"
light_green = "\033[92m"
light_blue = "\033[94m"
light_purple = "\033[95m"
light_cyan = "\033[96m"
dark_gray = "\033[90m"
light_gray = "\033[37m"
orange = "\033[91m"
pink = "\033[95m"
magenta = "\033[35m"
light_magenta = "\033[95m"
light_white = "\033[97m"
light_black = "\033[90m"
reset = "\033[0m"
print(red + "لون أحمر")
print(green + "لون أخضر")
print(yellow + "لون أصفر")
print(blue + "لون أزرق")
print(purple + "لون بنفسجي")
print(cyan + "لون سماوي")
print(white + "لون أبيض")
print(black + "لون أسود")
print(light_yellow + "لون أصفر فاتح")
print(light_green + "لون أخضر فاتح")
print(light_blue + "لون أزرق فاتح")
print(light_purple + "لون بنفسجي فاتح")
print(light_cyan + "لون سماوي فاتح")
print(dark_gray + "لون رمادي غامق")
print(light_gray + "لون رمادي فاتح")
print(orange + "لون برتقالي")
print(pink + "لون وردي")
print(magenta + "لون أرجواني")
print(light_magenta + "لون أرجواني فاتح")
print(light_white + "لون أبيض فاتح")
print(light_black + "لون أسود فاتح")
print(reset + "نص باللون الافتراضي")
اكثر من 20 لون مختلف وجميل، في بايثون يفيدك كلش بسيط تحط برانت وتحط اسم المتغير و + والنص وراح يتلون
https://t.me/hmsfails/174934
@python_RaFكيف وضع باسورد ل ادواتك بشرح بسيط جدا وهاذ هو الكود
import os,requests,time
code = "RaF" #you code password
inter = input ("inter you pass: ")
if code == inter:
print ("ok")
time.sleep(1)
os.system ("clear")
else:
exit ("error ")
#you code hear
name = input ("inter you name")
print (f"welcome {name}")
@python_RaF↫︙كود تفاعلات رسالا عبر telethon 😄⭐
from telethon.sync import TelegramClient, types, functions import asyncio # telethon Client start async def MAIN_APP(): url = "" # The Stores Url # splite Url get username in peer_id url_split = url.split('/') username = url_split[-3] peer_id = int(url_split[-1]) # start app app = TelegramClient() # telethon Client response = await app(functions.stories.SendReactionRequest( peer=username, story_id=peer_id, reaction=types.ReactionEmoji( emoticon="❤️" # Rection Select ), add_to_recent=True )) asyncio.run(MAIN_APP()) # run client↫︙Dev : @R_AFX ↫︙CH @radfx2 💙
↫︙كود مشاهدة ستوري بي مكتبة telethon 😄
from telethon.sync import TelegramClient, types, functions import asyncio # telethon Client start async def MAIN_APP(): url = "" # The Stores Url # splite Url get username in peer_id url_split = url.split('/') username = url_split[-3] peer_id = int(url_split[-1]) # start app app = TelegramClient() # telethon Client response = await app(functions.stories.ReadStoriesRequest( peer=username, max_id=peer_id )) asyncio.run(MAIN_APP()) # run client↫︙Dev : @R_AFX ↫︙CH @radfx2 💙
