Spaces:
Running
Running
Commit
ยท
cb5faa8
1
Parent(s):
46a7d90
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,8 @@ async def main():
|
|
91 |
# Check the last reply to this sender
|
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 |
-
|
|
|
95 |
await client.send_message(chat_id, response, parse_mode='HTML')
|
96 |
reply_times[str(sender_id)] = time.time() # update the last reply time
|
97 |
|
|
|
91 |
# Check the last reply to this sender
|
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 ุฃุนุชุฐุฑ ูู ุฃููู
ุจุงูุฑุฏ ุนูู ุงูุฑุณุงุฆู ุงูุฎุงุตุฉ ูู ุชููุบุฑุงู
\n ูู
ููู ุงูุชูุงุตู ู
ุนู ุนุจุฑ ุชุทุจูู Messenger \n <a href="https://www.facebook.com/MohammedAlakras/">ู
ู ููุง</a> '
|
96 |
await client.send_message(chat_id, response, parse_mode='HTML')
|
97 |
reply_times[str(sender_id)] = time.time() # update the last reply time
|
98 |
|