MohammedAlakhras commited on
Commit
8cecb85
ยท
1 Parent(s): 3b26f29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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ุฃุนุชุฐุฑ ุนู† ุนุฏู… ุงู„ุฑุฏ ุงู„ุญุณุงุจ ู…ุบู„ู‚ ุญุงู„ูŠุงู‹ . \n ูŠู…ูƒู†ูƒ ุงู„ุชูˆุงุตู„ ู…ุนูŠ ุนุจุฑ Messenger :\n <a href="https://www.facebook.com/MohammedAlakras/">ู…ู† ู‡ู†ุง</a>.\n .\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
 
@@ -101,7 +101,7 @@ async def main():
101
  last_reply_time = reply_times.get(str(str(chat_id)+str(sender_id)), None)
102
  if last_reply_time is None or time.time() - last_reply_time > 60*5:
103
  # response = f'Hello <a href="tg://user?id={sender_id}">{sender_name}</a> @ <a href="https://t.me/c/{chat_id}">{chat.title}</a> ๐Ÿ‘‹๐Ÿป,\n {random.choice(RndMssgs)} ๐Ÿ˜Š'
104
- response = f'ุฃู‡ู„ุง <a href="tg://user?id={sender_id}">{sender_name}</a> ๐Ÿ‘‹๐Ÿป ,\nุฃุนุชุฐุฑ ุนู† ุนุฏู… ุงู„ุฑุฏ ุงู„ุญุณุงุจ ู…ุบู„ู‚ ุญุงู„ูŠุงู‹ . \n ูŠู…ูƒู†ูƒ ุงู„ุชูˆุงุตู„ ู…ุนูŠ ุนุจุฑ Messenger :\n <a href="https://www.facebook.com/MohammedAlakras/">ู…ู† ู‡ู†ุง</a>.\n .\n ุดูƒุฑุงู‹ ู„ุชูู‡ู…ูƒ '
105
  await client.send_message(chat_id, response, parse_mode='HTML',link_preview=False)
106
  reply_times[str(str(chat_id)+str(sender_id))] = time.time()
107
 
 
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ุงู„ุญุณุงุจ ู…ุบู„ู‚ ุญุงู„ูŠุงู‹ . \n ูŠู…ูƒู†ูƒ ุงู„ุชูˆุงุตู„ ู…ุนูŠ ุนุจุฑ Messenger :\n https://www.facebook.com/MohammedAlakras/ \n \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
 
 
101
  last_reply_time = reply_times.get(str(str(chat_id)+str(sender_id)), None)
102
  if last_reply_time is None or time.time() - last_reply_time > 60*5:
103
  # response = f'Hello <a href="tg://user?id={sender_id}">{sender_name}</a> @ <a href="https://t.me/c/{chat_id}">{chat.title}</a> ๐Ÿ‘‹๐Ÿป,\n {random.choice(RndMssgs)} ๐Ÿ˜Š'
104
+ response = f'ุฃู‡ู„ุง <a href="tg://user?id={sender_id}">{sender_name}</a> ๐Ÿ‘‹๐Ÿป ,\nุฃุนุชุฐุฑ ุนู† ุนุฏู… ุงู„ุฑุฏ \nุงู„ุญุณุงุจ ู…ุบู„ู‚ ุญุงู„ูŠุงู‹ . \n ูŠู…ูƒู†ูƒ ุงู„ุชูˆุงุตู„ ู…ุนูŠ ุนุจุฑ Messenger :\n https://www.facebook.com/MohammedAlakras/ \n \n ุดูƒุฑุงู‹ ู„ุชูู‡ู…ูƒ '
105
  await client.send_message(chat_id, response, parse_mode='HTML',link_preview=False)
106
  reply_times[str(str(chat_id)+str(sender_id))] = time.time()
107