Spaces:
Running
Running
Commit
ยท
af2a77a
1
Parent(s):
4083434
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ async def main():
|
|
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 |
|
99 |
# Group message
|
|
|
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',link_preview=False)
|
97 |
reply_times[str(sender_id)] = time.time() # update the last reply time
|
98 |
|
99 |
# Group message
|