New code: Id & Start
from pyrogram import Client,filters
api_id = #ايدي_الخاص_بك
api_hash = "" #الايبي_هاش_الخاص_بك
bot_token = "" #توكن_البوت
MO = Client(
'AppClient',
api_id,
api_hash,
bot_token=bot_token
)
@MO.on_message(filters.command('start'))
def start(bot,m):
bot.send_message(m.chat.id, text = "welcome to information source")
@MO.on_message(filters.command('id'))
def id_reply(bot,m):
bot.send_message(m.chat.id, text=f"You id is :{m.from_user.id}\nYou username is :@{m.from_user.username}",reply_to_message_id=m.m.id)Ban.py
2.5 KB
- كود حظر الاعضاء والغاء الحظر
حظر بالرد ، والغاء الحظر بالرد
حظر بالتاق ، والغاء الحظر بالتاق
--------------------
- المكاتب : pyrogram . re
حظر بالرد ، والغاء الحظر بالرد
حظر بالتاق ، والغاء الحظر بالتاق
--------------------
- المكاتب : pyrogram . re
Time.py
677 B
- كود عرض الوقت والتاريخ
- يعرض الوقت لكل الدول .
--------------------
- المكاتب : Pyrogram . Datetime .
- يعرض الوقت لكل الدول .
--------------------
- المكاتب : Pyrogram . Datetime .
id.py
2.5 KB
- كود عرض معلوماتك داخل المجموعة
- اسمك ، معرفك ، ايديك ، رتبتك ، نبذتك ، صورتك
--------------------
- المكاتب : pyrogram
ملاحظه هذه الاكواد لصديقي مو الي ❤️
بسبب ضعف النت و ما عارف ارفع ملفات
و انا محول هذا من صديقي ❤️❤️
- اسمك ، معرفك ، ايديك ، رتبتك ، نبذتك ، صورتك
--------------------
- المكاتب : pyrogram
ملاحظه هذه الاكواد لصديقي مو الي ❤️
بسبب ضعف النت و ما عارف ارفع ملفات
و انا محول هذا من صديقي ❤️❤️
from pyrogram import Client,filters
import redis
red = redis.StrictRedis(decode_responses= True)
api_id = #ايبي ايدي
api_hash = "" #ايبي هاش
bot_token = "" #توكن
M = Client(
'MClient',
api_id,
api_hash,
bot_token=bot_token
)
#مرتبط ببعض الكود ده
@M.on_message(filters.command('start'))
def start(bot,m):
user_id = m.from_user.id
bot.send_message(m.chat.id, text = "welcome to information source")
red.sadd('usr',user_id)
#كود الاذاعه
@M.on_message(filters.command('bc'))
def broad_cast(bot,m):
text = m.text.split(None,1)[1]
user = red.smembers('usr')
for i in user:
bot.send_message(i,text)
مثال: يرسل لاي حد ضغط ستارت
/bc عامل اي
1- شغل علي التطبيق ده
2-ولازم تكون منزل التطبيق ده و مشغله معاه وانت بتشغل من pydroid3
import redis
red = redis.StrictRedis(decode_responses= True)
api_id = #ايبي ايدي
api_hash = "" #ايبي هاش
bot_token = "" #توكن
M = Client(
'MClient',
api_id,
api_hash,
bot_token=bot_token
)
#مرتبط ببعض الكود ده
@M.on_message(filters.command('start'))
def start(bot,m):
user_id = m.from_user.id
bot.send_message(m.chat.id, text = "welcome to information source")
red.sadd('usr',user_id)
#كود الاذاعه
@M.on_message(filters.command('bc'))
def broad_cast(bot,m):
text = m.text.split(None,1)[1]
user = red.smembers('usr')
for i in user:
bot.send_message(i,text)
مثال: يرسل لاي حد ضغط ستارت
/bc عامل اي
1- شغل علي التطبيق ده
2-ولازم تكون منزل التطبيق ده و مشغله معاه وانت بتشغل من pydroid3
ايدي مع اظهار الصوره
@app.on_message(filters.regex("^ايدي$"))
def id_(client,message):
cht = message.chat.id
Idu = message.from_user.id
frt = message.chat.first_name
usr = message.from_user.username
typ = message.chat.type
dat = message.date
url = f"https://t.me/{message.from_user.username}"
app.send_photo(message.chat.id,url,f"ID : {Idu}\nID_CHAT: {cht}\nName : {frt}\nUser : @{usr}\nType : {typ}\nDate Msg: {dat}",
reply_to_message_id = message.id
)
Python Solve Problems | python tools | ملفات php | بوتات php | كورس python | ملفات python | بوتات python | حل مشاكل بايثون
ايدي مع اظهار الصوره @app.on_message(filters.regex("^ايدي$")) def id_(client,message): cht = message.chat.id Idu = message.from_user.id frt = message.chat.first_name usr = message.from_user.username typ = message.chat.type …
طريقه الحصول مختلفه
@GKK.on_message(filters.regex("^ايدي$"))
def id_(client,message):
cht = message.chat.id
Idu = message.from_user.id
frt = message.chat.first_name
usr = message.from_user.username
typ = message.chat.type
dat = message.date
user_id = message.from_user.id
b = GKK.get_chat(user_id)
pho = GKK.download_media(b.photo.big_file_id)
GKK.send_photo(message.chat.id,pho,f"ID : {Idu}\nID_CHAT: {cht}\nName : {frt}\nUser : @{usr}\nType : {typ}\nDate Msg: {dat}",
reply_to_message_id = message.id
)🤩1
YukkiMusicBot-master.zip
1.1 MB
👍3❤1❤🔥1
nizks.php
625.7 KB
🤗5👍1
اضف رد.py
8.4 KB
- بوت ردود
فيه :
– اضف رد
– مسح رد
– الردود
– مسح الردود
-•- بتخزين txt ، الأوامر تعمل للمشرفين فقط
فيه :
– اضف رد
– مسح رد
– الردود
– مسح الردود
-•- بتخزين txt ، الأوامر تعمل للمشرفين فقط
❤4👍3🔥1
from pyrogram import Client,filters@app.on_message(filters.voice)
def anything(bot, m):
m.reply(m.voice.file_id) ☝️هذا الكود اي ريكورد او بصمه تبعتها بطلع الك رابط الريكورد او البصمه اي كان حجمها اي
@app.on_message(filters.command('s'))
def anything_(bot, m):
m.reply_voice("")☝️هذا الكود تحط فيه اي رابط ريكود او بصمه
بين الاقواس. " " و اكتب /s ينرسل البصمه او الريكورد
Python Solve Problems | python tools | ملفات php | بوتات php | كورس python | ملفات python | بوتات python | حل مشاكل بايثون
from pyrogram import Client,filters @app.on_message(filters.voice) def anything(bot, m): m.reply(m.voice.file_id) ☝️هذا الكود اي ريكورد او بصمه تبعتها بطلع الك رابط الريكورد او البصمه اي كان حجمها اي @app.on_message(filters.command('s'))…
import marshal,os
filemame = input("Enter Your File Name : \n")
outputname = input("Enter name to save the encoded file with : \n")
try:
open(filemame,"r")
except FileNotFoundError:
print("Error , The file must be with the tool in the same folder .")
with open(filemame,"r") as doc:
dc = doc.read()
com = compile(dc , "Encode" , "exec" )
m = marshal.dumps(com)
new = f'import marshal\nexec(marshal.loads({m}))'
with open(outputname , "w+") as w:
w.write(new)
os.system("clear")
print("Done encoded ( {} ) and fioe name is ( {} ) ".format(filemame,outputname))أداه تشفير مارشال √
dev : @l3I3Il √
👍3
Python Solve Problems | python tools | ملفات php | بوتات php | كورس python | ملفات python | بوتات python | حل مشاكل بايثون
import marshal,os filemame = input("Enter Your File Name : \n") outputname = input("Enter name to save the encoded file with : \n") try: open(filemame,"r") except FileNotFoundError: print("Error , The file must be with the tool in the same folder .") …
لازم تحط السورس بملف py وبعدين تحط الملفين مع بعض بولدر واحد 🫶
import time
myTime = time.ctime()
#print(myTime)
myTime2 = time.asctime()
#print(myTime2)
#================
myTime = time.localtime()
resultTime = time.strftime("%d/%m/%Y, %H:%M:%S",myTime)
#print(resultTime)
#==========Sleep function=====
beforeSleep = ("This is the first sentence",resultTime)
print(beforeSleep)
time.sleep(10)
afterSleep = ("This is the second statement",resultTime)
print(afterSleep)مثال علي مكتبه الوقت