Commit
·
067f773
1
Parent(s):
dc1e264
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,7 +92,7 @@ async def main():
|
|
| 92 |
last_reply_time = reply_times.get(str(sender_id), None)
|
| 93 |
if last_reply_time is None or time.time() - last_reply_time > 60*60*6: # reply only if not replied in the last minute
|
| 94 |
# response = f'Hello <a href="tg://user?id={sender_id}">{sender_name}</a> 👋🏻 ,\n {random.choice(RndMssgs)} 😊'
|
| 95 |
-
response = f'أهلا <a href="tg://user?id={sender_id}">{sender_name}</a> 👋🏻 ,\n
|
| 96 |
await client.send_message(chat_id, response, parse_mode='HTML',link_preview=False)
|
| 97 |
reply_times[str(sender_id)] = time.time() # update the last reply time
|
| 98 |
|
|
|
|
| 92 |
last_reply_time = reply_times.get(str(sender_id), None)
|
| 93 |
if last_reply_time is None or time.time() - last_reply_time > 60*60*6: # reply only if not replied in the last minute
|
| 94 |
# response = f'Hello <a href="tg://user?id={sender_id}">{sender_name}</a> 👋🏻 ,\n {random.choice(RndMssgs)} 😊'
|
| 95 |
+
response = f'أهلا <a href="tg://user?id={sender_id}">{sender_name}</a> 👋🏻 ,\nأعتذر لن أقوم بالرد على الرسائل الخاصة حاليا في Telegram \nأقوم بالرد في الغروبات فقط \nيمكنك التواصل معي عبر تطبيق Messenger \n <a href="https://www.facebook.com/MohammedAlakras/">من هنا</a> '
|
| 96 |
await client.send_message(chat_id, response, parse_mode='HTML',link_preview=False)
|
| 97 |
reply_times[str(sender_id)] = time.time() # update the last reply time
|
| 98 |
|